aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-01-16 20:29:58 +0000
committerGravatar GitHub <[email protected]>2023-01-16 20:29:58 +0000
commitee4bbec6ec1443f078e6aed19d4f842fb107e33c (patch)
tree9387bbcbd98a718451928af9655a016bda7a650d /.github
parentMerge pull request #838 from python-discord/dependabot/pip/sentry-sdk-1.13.0 (diff)
parentMerge branch 'main' into dependabot/github_actions/Azure/k8s-deploy-4 (diff)
Merge pull request #843 from python-discord/dependabot/github_actions/Azure/k8s-deploy-4
Bump Azure/k8s-deploy from 1 to 4
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yaml5
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