|
|
|
@ -58,14 +58,14 @@ jobs:
|
|
|
|
|
[[ $PUBLISH_CFPAGES_URL =~ (https?://)?([a-zA-Z0-9-]+)\.pages\.dev ]]
|
|
|
|
|
new_url="https://${ALIAS}.${BASH_REMATCH[2]}.pages.dev"
|
|
|
|
|
echo $new_url
|
|
|
|
|
echo alias_url=$new_url >> $GITHUB_ENV
|
|
|
|
|
echo alias-url=$new_url >> $GITHUB_ENV
|
|
|
|
|
- name: Create Job Summary
|
|
|
|
|
uses: actions/github-script@v7
|
|
|
|
|
env:
|
|
|
|
|
CHANGE_BRANCH: ${{ steps.set-production-branch.outputs.summary }}
|
|
|
|
|
PUBLISH_CFPAGES: ${{ steps.publish.outputs.command-output }}
|
|
|
|
|
PUBLISH_CFPAGES_URL: ${{ steps.publish.outputs.deployment-url }}
|
|
|
|
|
PUBLISH_CFPAGES_ALIAS: ${{ steps.generate-alias-url.outputs.alias_url }}
|
|
|
|
|
PUBLISH_CFPAGES_ALIAS: ${{ steps.generate-alias-url.outputs.alias-url }}
|
|
|
|
|
with:
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
script: |
|
|
|
|
|