mirror of
https://github.com/mveril/qp-demo
synced 2024-08-24 21:41:47 +02:00
Error if branch name is not correct
This commit is contained in:
parent
c70ff10919
commit
c499dfca52
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
elif [[ "${{ steps.extract_branch.outputs.branch }}" == release_* ]]; then
|
elif [[ "${{ steps.extract_branch.outputs.branch }}" == release_* ]]; then
|
||||||
echo "##[set-output name=tag;]$(echo '${GITHUB_REF#refs/heads/}' | cut -d '_' -f2-)"
|
echo "##[set-output name=tag;]$(echo '${GITHUB_REF#refs/heads/}' | cut -d '_' -f2-)"
|
||||||
else
|
else
|
||||||
echo "##[set-output name=tag;]$(echo 'ghtest')"
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
|
Loading…
Reference in New Issue
Block a user