update
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -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
6
vercel.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"github": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user