Test github.ref to get branch name

pull/2/head v0.0.3-dev
DustyP 5 years ago
parent d119425236
commit 3169953f3f

@ -10,7 +10,7 @@ on:
jobs: jobs:
build: 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 runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job

Loading…
Cancel
Save