Run tag only on develop

This commit is contained in:
adrinr 2023-04-21 16:48:01 +01:00
parent f52fc90dbc
commit 410046cae2
1 changed files with 5 additions and 6 deletions

View File

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