From 3169953f3fb3d2f22fae32566b80595f44a357aa Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Sun, 30 Aug 2020 17:07:37 -0800 Subject: [PATCH] Test github.ref to get branch name --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f82432..e5c5d50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: - if: github.event.base_ref == 'refs/heads/master' || github.event.base_ref == 'refs/heads/development' + if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development' runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job