aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-09-18 13:47:00 +0100
committerGravatar Chris Lovering <[email protected]>2023-09-18 13:47:00 +0100
commite31532022684424dc5a7863a81f9c82ed69f4463 (patch)
tree472865e166512f4043cdb23a007eb81ebd5c3cf9
parentLink guide to contributing a page in site guide (#1105) (diff)
Update deployment CI to pull manifest from infra repo
-rw-r--r--.github/workflows/build-deploy.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml
index 96678670..c5a62c10 100644
--- a/.github/workflows/build-deploy.yaml
+++ b/.github/workflows/build-deploy.yaml
@@ -58,13 +58,11 @@ jobs:
environment: production
steps:
- # Check out the private Kubernetes repository for the
- # deployment.yaml file using a GitHub Personal Access
- # Token to get access.
- name: Checkout code
uses: actions/checkout@v4
with:
- repository: python-discord/kubernetes
+ repository: python-discord/infra
+ path: infra
- uses: azure/setup-kubectl@v3
@@ -78,7 +76,7 @@ jobs:
uses: Azure/k8s-deploy@v4
with:
manifests: |
- namespaces/default/site/deployment.yaml
+ infra/kubernetes/namespaces/default/site/deployment.yaml
images: 'ghcr.io/python-discord/site:${{ inputs.sha-tag }}'
- name: Purge Cloudflare Edge Cache