From d77d59359c5a1bb839f66a96020595252acfda54 Mon Sep 17 00:00:00 2001 From: Sebastian Krysmanski Date: Sun, 4 Feb 2024 05:28:01 +0100 Subject: [PATCH] Simplify workflow --- .github/workflows/build-and-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index c2d7d29..2a0f8be 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -35,7 +35,7 @@ permissions: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency concurrency: # Makes this workflow part of the "deploy" concurrency group. (Note that this text can be chosen arbitrarily.) - group: deploy-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'production' || 'preview' }} + group: deploy-${{ DEPLOY_STAGE }} cancel-in-progress: false # NOTE: Jobs run in parallel by default.