chore: Update Vercel deployment workflow
This commit is contained in:
@ -13,11 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# - name: Install Vercel CLI
|
||||
# run: npm install --global vercel@canary
|
||||
- name: Install Vercel CLI
|
||||
run: npm install --global vercel@canary
|
||||
- name: Pull Vercel Environment Information
|
||||
run: pnpx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
run: pnpx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
run: pnpx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
|
Reference in New Issue
Block a user