mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-30 13:10:43 +00:00
drop the underscore in the branch name
This commit is contained in:
parent
90eeae63f5
commit
7739e40a64
1 changed files with 2 additions and 1 deletions
3
.github/workflows/Deploy.yml
vendored
3
.github/workflows/Deploy.yml
vendored
|
|
@ -83,7 +83,8 @@ jobs:
|
|||
id: set_stack_name
|
||||
run: |
|
||||
# Take branch prefix and add "model" for stack name
|
||||
stack_name=$( echo ${{ github.ref_name }} | awk -F"-" '{print $1}' | sed 's/$/model/g')
|
||||
# stack_name=$( echo ${{ github.ref_name }} | awk -F"-" '{print $1}' | sed 's/$/model/g')
|
||||
stack_name=$(echo ${{ github.ref_name }} | awk -F"-" '{gsub("_", "", $1); print $1}' | sed 's/$/model/g')
|
||||
if [ -z "${stack_name}" ]; then
|
||||
echo "::set-output name=stack_name::"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue