mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
Enabling deploys to the QA environment from branches with slashes in the name (#1673)
This commit is contained in:
parent
cb815c2f14
commit
19ca3ee374
2
.github/workflows/qa-deploy.yml
vendored
2
.github/workflows/qa-deploy.yml
vendored
@ -85,7 +85,7 @@ jobs:
|
||||
echo "NAME_LOWER: $NAME_LOWER"
|
||||
echo "::set-output name=name_lower::$NAME_LOWER"
|
||||
|
||||
BRANCH_NAME=$(echo "$GITHUB_REF" | awk '{split($0, a, "/"); print a[3]}')
|
||||
BRANCH_NAME=$(echo "$GITHUB_REF" | sed "s#refs/heads/##g")
|
||||
echo "GITHUB_REF: $GITHUB_REF"
|
||||
echo "BRANCH_NAME: $BRANCH_NAME"
|
||||
echo "::set-output name=branch_name::$BRANCH_NAME"
|
||||
|
Loading…
Reference in New Issue
Block a user