Skip to content

Commit

Permalink
fix(deply): Build for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Jul 6, 2023
1 parent b5bfd6e commit 083e088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: pnpm install

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

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

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

0 comments on commit 083e088

Please sign in to comment.