mirror of
https://github.com/mveril/qp-demo
synced 2024-12-22 04:14:12 +01: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
|
||||
echo "##[set-output name=tag;]$(echo '${GITHUB_REF#refs/heads/}' | cut -d '_' -f2-)"
|
||||
else
|
||||
echo "##[set-output name=tag;]$(echo 'ghtest')"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Login to Docker Hub
|
||||
|
Loading…
Reference in New Issue
Block a user