Skip to content

Commit

Permalink
Update deployment CI to pull manifest from infra repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Sep 18, 2023
1 parent fd3c75b commit e315320
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit e315320

Please sign in to comment.