Skip to content

Commit

Permalink
Get token before build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMillz committed Nov 7, 2024
1 parent 5a79677 commit ab24b4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
Expand All @@ -27,6 +28,8 @@ jobs:
- name: Install pnpm and Vercel CLI
run: |
npm install -g pnpm vercel@canary
- name: Pull Vercel Environment Information
run: vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
Expand Down

0 comments on commit ab24b4a

Please sign in to comment.