Skip to content

Commit 955e12f

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

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/vercel-preview.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,18 @@ jobs:
6363
- run: npm run build
6464

6565
- name: Install Vercel CLI
66-
run: npm install --global vercel@canary env-cmd
67-
66+
run: npm install --global vercel@canary
6867
- name: Pull Vercel Environment Information
6968
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
70-
7169
- name: Build Project Artifacts
7270
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
73-
71+
7472
- uses: UnlyEd/github-action-deploy-on-vercel@latest
7573
with:
7674
command: "vercel deploy --cwd ./public --archive=tgz --prebuilt --debug --token ${{ secrets.VERCEL_TOKEN }}"
7775
env:
7876
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
7977
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID}}
80-
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID}}
78+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
8179

8280
- run: "echo \"Found deployment url: ${{ env.VERCEL_DEPLOYMENT_URL }}\""

0 commit comments

Comments
 (0)