From e31532022684424dc5a7863a81f9c82ed69f4463 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 18 Sep 2023 13:47:00 +0100 Subject: [PATCH] Update deployment CI to pull manifest from infra repo --- .github/workflows/build-deploy.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 966786708..c5a62c10a 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