Skip to content

Commit

Permalink
docs(vercel): fix vercel cli command
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasaarcoverde committed Nov 1, 2024
1 parent fa5a52e commit b9b8d6b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ jobs:
- name: Build
run: pnpm build

- name: Install Vercel CLI
run: npm install vercel -g

- name: Pull Vercel Environment Information
run: npx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: npx vercel build --token=${{ secrets.VERCEL_TOKEN }}
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}

- name: Deploy Project Artifacts to Vercel
run: npx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \
--org-id=${{ secrets.VERCEL_ORG_ID }} --project-id=${{ secrets.VERCEL_PROJECT_ID }}

0 comments on commit b9b8d6b

Please sign in to comment.