Skip to content

Commit

Permalink
Update preview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
charymalloju authored Oct 31, 2023
1 parent 57e6243 commit cbbf796
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
working-directory: ./frontend
run: npm install --global vercel@canary
- name: Pull Vercel Environment Information
working-directory: ./frontend
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
working-directory: ./frontend
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
working-directory: ./frontend
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit cbbf796

Please sign in to comment.