Test github.ref to get branch name
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2020-08-30 17:07:37 -08:00
parent d119425236
commit 3169953f3f

View File

@ -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