chore: Update Vercel deployment workflow
Some checks failed
CI / cache-and-install (push) Successful in 1m40s
GitHub Actions Vercel Production Deployment / Deploy-Production (push) Failing after 36s

This commit is contained in:
严浩
2024-09-18 12:06:32 +08:00
parent 3db7c0d80f
commit 5777f5bb2b

View File

@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# - name: Install Vercel CLI - name: Install Vercel CLI
# run: npm install --global vercel@canary run: npm install --global vercel@canary
- name: Pull Vercel Environment Information - 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 - 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 - 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 }}