diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b2665d08..ea5e0303 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: @@ -37,12 +39,11 @@ 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 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 |