From 31e21a822dc8ddab5bdb497091af96c62931e2d6 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 21 Sep 2021 10:54:47 +0100 Subject: [PATCH] Let's not try and deploy branches that aren't main (even if it won't work anyway) --- .github/workflows/pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e164be8dc..ee38336ce 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -77,6 +77,7 @@ jobs: name: Deploy runs-on: ubuntu-latest environment: 'Beta - Production' + if: github.ref == 'refs/heads/main' needs: - test timeout-minutes: 30