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