Skip to content

Commit

Permalink
🔬 Fix CI on branches with 2 slashes (#4817)
Browse files Browse the repository at this point in the history
Fix CI on branches with 2 slashes
  • Loading branch information
thesan authored Mar 22, 2024
1 parent cd0df73 commit 801e824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
BRANCH=$(echo -n '${{ env.LABEL }}' | cut -d ':' -f2-)
fi
URL_BRANCH=$(echo -n "$BRANCH" | tr -d '#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
URL_BRANCH=$(echo -n "$BRANCH" | sed 's/\//-/' | tr -d '/#' | tr -c '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]')
SUBDOMAIN="${{ env.PROJECT }}-${{ env.PREFIX }}-$URL_BRANCH-joystream"
if [ ${#SUBDOMAIN} -gt 63 ]; then
Expand Down

0 comments on commit 801e824

Please sign in to comment.