ci: extract vercel scope as an env (#30441)
This commit is contained in:
parent
5136ed3448
commit
17369dc8f0
|
@ -90,6 +90,7 @@ jobs:
|
||||||
./build.sh
|
./build.sh
|
||||||
env:
|
env:
|
||||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||||
|
VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }}
|
||||||
|
|
||||||
error_reporting:
|
error_reporting:
|
||||||
needs:
|
needs:
|
||||||
|
|
|
@ -28,7 +28,7 @@ fi
|
||||||
cat > "$CONFIG_FILE" <<EOF
|
cat > "$CONFIG_FILE" <<EOF
|
||||||
{
|
{
|
||||||
"name": "$PROJECT_NAME",
|
"name": "$PROJECT_NAME",
|
||||||
"scope": "solana-labs",
|
"scope": "$VERCEL_SCOPE",
|
||||||
"redirects": [
|
"redirects": [
|
||||||
{ "source": "/apps", "destination": "/developers" },
|
{ "source": "/apps", "destination": "/developers" },
|
||||||
{ "source": "/developing/programming-model/overview", "destination": "/developers" },
|
{ "source": "/developing/programming-model/overview", "destination": "/developers" },
|
||||||
|
|
Loading…
Reference in New Issue