Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

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

Julius Marminge39371c6012e7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f9a1d8e51..35bcaaf31 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -634,10 +634,8 @@ jobs:
channel_name="nightly"
fi
- vercel_scope_args=()
- if [[ -n "${VERCEL_TEAM_SLUG:-}" ]]; then
- vercel_scope_args=(--scope "$VERCEL_TEAM_SLUG")
- fi
+ vercel_scope="${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"
+ vercel_scope_args=(--scope "$vercel_scope")
echo "Deploying hosted web app for $channel_name channel."
deployment_url="$(
diff --git a/docs/release.md b/docs/release.md
index 640fdc333..44ad11351 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -44,7 +44,7 @@ Required GitHub Actions secrets:
Optional GitHub Actions variables:
-- `VERCEL_TEAM_SLUG`: required only if the token needs an explicit Vercel team scope.
+- `VERCEL_TEAM_SLUG`: overrides the Vercel CLI scope when the team slug is preferred over the `VERCEL_ORG_ID` secret.
- `T3CODE_WEB_ROUTER_URL`: defaults to `https://app.t3.codes`.
- `T3CODE_WEB_LATEST_DOMAIN`: defaults to `latest.app.t3.codes`.
- `T3CODE_WEB_NIGHTLY_DOMAIN`: defaults to `nightly.app.t3.codes`.