Skip to content

Commit e51a880

Browse files
committed
chore: use prebuilt rather than deploy build
its better to let website build by sitemap can read git info
1 parent 1e57905 commit e51a880

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/deploy-website.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ jobs:
1919
working-directory: website
2020
steps:
2121
- uses: actions/checkout@v4
22+
- name: Pre build
23+
uses: amondnet/vercel-action@v25.1.1
24+
env:
25+
VERSION: ${{ env.GITHUB_SHA }}
26+
with:
27+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
28+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
29+
vercel-project-id: prj_V3iY3AcH0wIXxMHW4oDy3W3XzfnN
30+
working-directory: ./
31+
vercel-args: 'build'
2232
- name: Deploy to Vercel
2333
uses: amondnet/vercel-action@v25.1.1
2434
env:
@@ -28,4 +38,4 @@ jobs:
2838
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
2939
vercel-project-id: prj_V3iY3AcH0wIXxMHW4oDy3W3XzfnN
3040
working-directory: ./
31-
vercel-args: '--prod'
41+
vercel-args: 'deploy --prebuilt --prod'

0 commit comments

Comments
 (0)