Skip to content

Commit

Permalink
docs(vercel): add missing env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasaarcoverde committed Nov 1, 2024
1 parent f8eda9a commit 02632a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VTEX_GITHUB_BOT_TOKEN: ${{ secrets.VTEX_GITHUB_BOT_TOKEN }}
on:
push:
Expand Down Expand Up @@ -40,7 +42,8 @@ jobs:
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
run: vercel build --token=${{ secrets.VERCEL_TOKEN }} \
--org-id=${{ secrets.VERCEL_ORG_ID }} --project-id=${{ secrets.VERCEL_PROJECT_ID }}

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \
Expand Down

0 comments on commit 02632a5

Please sign in to comment.