From fface78264f8e924a9cf9b85b2634d7cc95db40d Mon Sep 17 00:00:00 2001 From: heinrob Date: Fri, 2 Jan 2026 10:27:28 +0100 Subject: [PATCH] Fix MR pipeline (refs #54) --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb1afc0..b3934d4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,7 @@ concurrency: jobs: build: + environment: ${{ github.ref == 'refs/heads/master' && 'prod' || 'stage' }} runs-on: ubuntu-latest strategy: @@ -52,7 +53,7 @@ jobs: deploy: environment: - name: github-pages + name: ${{ github.ref == 'refs/heads/master' && 'github-pages' || 'github-pages-stage' }} url: ${{ vars.CNAME }} runs-on: ubuntu-latest