This commit is contained in:
2026-01-24 00:00:07 +08:00
parent f9f7cf9a76
commit 7a31d98726
2 changed files with 14 additions and 3 deletions

View File

@@ -139,15 +139,20 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: generate-output-${{ steps.commit-hash.outputs.short }} name: generate-output-${{ steps.commit-hash.outputs.short }}
path: .vercel/output/static path: dist
- name: Install Vercel CLI - name: Install Vercel CLI
run: | run: |
bun install -g vercel bun install -g vercel
- name: Deploy to Vercel - name: Deploy to Vercel
run: | uses: amondnet/vercel-action@v25
vercel --token ${{ secrets.VERCEL_TOKEN }} --prebuilt --yes --prod with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
vercel-args: --prod # Optional
vercel-org-id: ${{ secrets.ORG_ID}} # Required
vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
working-directory: dist
deploy-edgeone: deploy-edgeone:
needs: build needs: build

6
vercel.json Normal file
View File

@@ -0,0 +1,6 @@
{
"version": 2,
"github": {
"enabled": false
}
}