Run tag only on develop
This commit is contained in:
parent
f52fc90dbc
commit
410046cae2
|
@ -5,7 +5,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- develop
|
||||
- chore/pipeline_npm_version_updates
|
||||
paths:
|
||||
- ".aws/**"
|
||||
- ".github/**"
|
||||
|
@ -21,11 +20,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# - name: Fail if branch is not develop
|
||||
# if: github.ref != 'refs/heads/develop'
|
||||
# run: |
|
||||
# echo "Ref is not develop, you must run this job from develop."
|
||||
# exit 1
|
||||
- name: Fail if branch is not develop
|
||||
if: github.ref != 'refs/heads/develop'
|
||||
run: |
|
||||
echo "Ref is not develop, you must run this job from develop."
|
||||
exit 1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
|
Loading…
Reference in New Issue