From 7f621c5c46c0de611ac9b6d29be1220c5fba6a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sindre=20S=C3=A6grov?= Date: Thu, 5 Dec 2024 15:21:18 +0100 Subject: [PATCH] deploy feature branch til dev --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8d8d3c50..48b0bfd9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,7 @@ name: Bygg og deploy on: push: - branches: - - main + env: IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }} @@ -119,6 +118,7 @@ jobs: deploy-prod: name: Deploy til prod-gcp + if: github.ref == 'refs/heads/main' needs: [ build, deploy-dev ] runs-on: ubuntu-latest environment: