Skip to content

Commit

Permalink
modify deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbuff committed Aug 28, 2024
1 parent 735ef2e commit 729f063
Show file tree
Hide file tree
Showing 2 changed files with 16,278 additions and 17,398 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
run: poetry run python bin/site.py -v
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel --cwd=website pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel --cwd=website build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel --cwd=website deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
run: |
cd website
vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
Loading

0 comments on commit 729f063

Please sign in to comment.