From 49b2e0544a89f08628afee566f44e2fee9d631f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 19:39:56 +0000 Subject: Bump Azure/k8s-deploy from 1 to 4 Bumps [Azure/k8s-deploy](https://github.com/Azure/k8s-deploy) from 1 to 4. - [Release notes](https://github.com/Azure/k8s-deploy/releases) - [Commits](https://github.com/Azure/k8s-deploy/compare/v1...v4) --- updated-dependencies: - dependency-name: Azure/k8s-deploy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 57712dc7..f5ce324c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -37,7 +37,7 @@ jobs: kubeconfig: ${{ secrets.KUBECONFIG }} - name: Deploy to Kubernetes - uses: Azure/k8s-deploy@v1 + uses: Azure/k8s-deploy@v4 with: manifests: | namespaces/default/site/deployment.yaml -- cgit v1.2.3 From 3e932aebfa0af36b65416cb4c6366d8a769f3930 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 16 Jan 2023 19:43:14 +0000 Subject: Setup kubectl in deploy workflow Azure/k8s-deploy no longer does this for us. --- .github/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f5ce324c..5509e55c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -30,6 +30,8 @@ jobs: with: repository: python-discord/kubernetes + - uses: azure/setup-kubectl@v3 + - name: Authenticate with Kubernetes uses: azure/k8s-set-context@v1 with: @@ -42,7 +44,6 @@ jobs: manifests: | namespaces/default/site/deployment.yaml images: 'ghcr.io/python-discord/site:${{ steps.sha_tag.outputs.tag }}' - kubectl-version: 'latest' - name: Purge Cloudflare Edge Cache uses: jakejarvis/cloudflare-purge-action@master -- cgit v1.2.3