Skip to content

Commit 41b3a29

Browse files
ci: print both the version and stable alias preview URLs
The Print step now shows the per-version preview URL and the stable branch-alias preview URL, so reviewers get both from the workflow output. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
1 parent a723feb commit 41b3a29

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/preview.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ jobs:
5555
# each push, instead of a new per-version hostname every time.
5656
command: versions upload --minify --preview-alias ${{ steps.alias.outputs.alias }}
5757

58-
- name: Print website URL
58+
- name: Print website URLs
5959
env:
60-
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
61-
run: echo $DEPLOYMENT_URL
60+
# Per-version URL (changes each push) from the wrangler-action output;
61+
# stable alias URL built from the branch alias + fixed worker/subdomain.
62+
VERSION_URL: ${{ steps.deploy.outputs.deployment-url }}
63+
ALIAS: ${{ steps.alias.outputs.alias }}
64+
run: |
65+
echo "Version Preview URL: ${VERSION_URL}"
66+
echo "Version Preview Alias URL: https://${ALIAS}-kagent-website.solo-io.workers.dev"

0 commit comments

Comments
 (0)