aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-08-18 21:58:13 +0100
committerGravatar Chris Lovering <[email protected]>2024-08-18 21:58:13 +0100
commitb1da08b1f8c527df028c3d9b2dc2b5131f4775e1 (patch)
tree6e87fbbfe56153e19cc72ae0038abb5073753d21 /.github
parentAdd deployment on commits to main (diff)
Only deploy backend in CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-deploy.yaml4
1 files 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 }}'