Skip to content

Commit

Permalink
ci: extract vercel scope as an env (solana-labs#30441)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau authored Feb 23, 2023
1 parent 5136ed3 commit 17369dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
./build.sh
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }}

error_reporting:
needs:
Expand Down
2 changes: 1 addition & 1 deletion docs/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 17369dc

Please sign in to comment.