History

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

Julius Marminge committed 6 months ago

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

Unified · Split

2 files
  1. .github/workflows/release.yml +2 −4
  2. docs/release.md +1 −1
.github/workflows/release.yml+2−4
@@ -634,10 +634,8 @@ jobs: · 633 unmodified lines
634 channel_name="nightly"634 channel_name="nightly"
635 fi635 fi
636 636
637 vercel_scope_args=()637 vercel_scope="${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"
638 if [[ -n "${VERCEL_TEAM_SLUG:-}" ]]; then638 vercel_scope_args=(--scope "$vercel_scope")
639 vercel_scope_args=(--scope "$VERCEL_TEAM_SLUG")
640 fi
641 639
642 echo "Deploying hosted web app for $channel_name channel."640 echo "Deploying hosted web app for $channel_name channel."
643 deployment_url="$(641 deployment_url="$(
docs/release.md+1−1
@@ -44,7 +44,7 @@ Required GitHub Actions secrets: · 43 unmodified lines
44 44
45Optional GitHub Actions variables:45Optional GitHub Actions variables:
46 46
47- `VERCEL_TEAM_SLUG`: required only if the token needs an explicit Vercel team scope.47- `VERCEL_TEAM_SLUG`: overrides the Vercel CLI scope when the team slug is preferred over the `VERCEL_ORG_ID` secret.
48- `T3CODE_WEB_ROUTER_URL`: defaults to `https://app.t3.codes`.48- `T3CODE_WEB_ROUTER_URL`: defaults to `https://app.t3.codes`.
49- `T3CODE_WEB_LATEST_DOMAIN`: defaults to `latest.app.t3.codes`.49- `T3CODE_WEB_LATEST_DOMAIN`: defaults to `latest.app.t3.codes`.
50- `T3CODE_WEB_NIGHTLY_DOMAIN`: defaults to `nightly.app.t3.codes`.50- `T3CODE_WEB_NIGHTLY_DOMAIN`: defaults to `nightly.app.t3.codes`.