Skip to content

Commit

Permalink
Only deploy backend in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Aug 18, 2024
1 parent e6a9a49 commit b1da08b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' && inputs.project == 'backend' }}
steps:
- name: Checkout Kubernetes repository
uses: actions/checkout@v4
Expand All @@ -77,4 +77,4 @@ jobs:
namespace: merch
manifests: |
infra/kubernetes/namespaces/merch/deployment.yaml
images: 'ghcr.io/owl-corp/thallium:${{ inputs.sha-tag }}'
images: 'ghcr.io/owl-corp/thallium-${{ inputs.project }}:${{ inputs.sha-tag }}'

0 comments on commit b1da08b

Please sign in to comment.