Skip to content

Commit 029793c

Browse files
committed
fixup! Adding preview with Vercel
1 parent dc26676 commit 029793c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/vercel-preview.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
run:
1616
runs-on: ubuntu-latest
1717
env:
18-
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
18+
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}env:
19+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
20+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID}}
21+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID}}
1922
APP_ENV: prod
2023

2124
steps:
@@ -65,7 +68,7 @@ jobs:
6568
- name: Pull Vercel Environment Information
6669
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
6770

68-
- name: Build Project Artifacts
71+
- name: Build Project Artifacts
6972
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
7073

7174
- uses: UnlyEd/github-action-deploy-on-vercel@latest

0 commit comments

Comments
 (0)