Skip to content

Commit

Permalink
escaped too much
Browse files Browse the repository at this point in the history
  • Loading branch information
dwwoelfel committed Sep 11, 2024
1 parent 20810ae commit 74f455d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ jobs:
code=$?
if [ $code -eq 0 ]; then
deploymentUrl=`cat deployment-url.txt`
branch=$BRANCH_NAME
aliasUrl=$(echo "instant-www-js-$branch-jsv.vercel.app" | sed 's/[^a-zA-Z0-9_-]/_/g')
safeBranch=$(echo $BRANCH_NAME | sed 's/[^a-zA-Z0-9_-]/_/g')
aliasUrl="instant-www-js-$safeBranch-jsv.vercel.app"
echo "ALIAS_URL=$aliasUrl" >> $GITHUB_ENV
echo "aiasing $deploymentUrl to $aliasUrl"
vercel alias $deploymentUrl $aliasUrl --token=${{ secrets.VERCEL_TOKEN }} --scope jsv
Expand Down

0 comments on commit 74f455d

Please sign in to comment.