mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-10-27 17:03:49 +08:00
fix(demo): bind domain within the configured Vercel team
This commit is contained in:
1 parent
db371be93c
commit
53d9f0d5d1
1 file changed
+1
-1
@@ -172,7 +172,7 @@ jobs:
|
||||
# 空项目首次部署也明确绑定固定域名,后续版本沿用同一个网址。
|
||||
domain="${DEMO_URL#https://}"
|
||||
domain="${domain%/}"
|
||||
vercel alias set "$url" "$domain" --token="$VERCEL_TOKEN"
|
||||
vercel alias set "$url" "$domain" --team="$VERCEL_ORG_ID" --token="$VERCEL_TOKEN"
|
||||
echo "url=$url" >> "$GITHUB_OUTPUT"
|
||||
echo "### Demo 已部署" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "- 正式版本:${{ steps.release.outputs.tag }}" >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
Reference in new issue
Block a user