History

[codex] Fix Vercel release web deploy scope (#2611)

Julius Marminge committed 6 months ago

Commit 39371c61 parent 99efaa02 files · +3 −5Browse files

Showing the changes to .github (1 of 2 files). Show all

Unified · Split

.github/workflows/release.yml+2−4
@@ -634,10 +634,8 @@ jobs: · 633 unmodified lines
634634 channel_name="nightly"
635635 fi
636636
637− vercel_scope_args=()
638− if [[ -n "${VERCEL_TEAM_SLUG:-}" ]]; then
639− vercel_scope_args=(--scope "$VERCEL_TEAM_SLUG")
640− fi
637+ vercel_scope="${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"
638+ vercel_scope_args=(--scope "$vercel_scope")
641639
642640 echo "Deploying hosted web app for $channel_name channel."
643641 deployment_url="$(