From b1da08b1f8c527df028c3d9b2dc2b5131f4775e1 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sun, 18 Aug 2024 21:58:13 +0100 Subject: [PATCH] Only deploy backend in CI --- .github/workflows/build-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 3b6048a..cc4c7b5 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -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 @@ -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 }}'