Skip to content

Commit

Permalink
Add link safe urls
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Nov 6, 2023
1 parent bc99e43 commit 6115703
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
DEPLOY_TOKEN: ${{ secrets.EDGIO_V7_DEPLOY_TOKEN}}
run: |
npx edgio deploy --skip-build --property=coh3-stats --organization=coh-stats --environment=$EDGIO_ENV --token $DEPLOY_TOKEN --branch=$BRANCH_NAME
- name: Replace Slashes in Branch Name
run: echo "LINK_SAFE_BRANCH_NAME=$(echo $BRANCH_NAME | sed 's|/|-|g')" >> $GITHUB_ENV
- uses: jwalton/gh-find-current-pr@v1
id: finder
- name: Publish Preview Link
Expand All @@ -76,7 +78,7 @@ jobs:
header: preview
message: |
🌐 Branch deployed as preview to:
https://coh-stats-coh3-stats-${{ env.BRANCH_NAME }}.alt.free.edgio-perma.link
https://coh-stats-coh3-stats-${{ env.LINK_SAFE_BRANCH_NAME }}.alt.free.edgio-perma.link
lighthouse:
name: Lighthouse report
Expand Down

0 comments on commit 6115703

Please sign in to comment.