ci: extract vercel scope as an env (#30441)

This commit is contained in:
Yihau Chen 2023-02-23 11:58:08 +08:00 committed by GitHub
parent 5136ed3448
commit 17369dc8f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -90,6 +90,7 @@ jobs:
./build.sh
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }}
error_reporting:
needs:

View File

@ -28,7 +28,7 @@ fi
cat > "$CONFIG_FILE" <<EOF
{
"name": "$PROJECT_NAME",
"scope": "solana-labs",
"scope": "$VERCEL_SCOPE",
"redirects": [
{ "source": "/apps", "destination": "/developers" },
{ "source": "/developing/programming-model/overview", "destination": "/developers" },