Skip to content

Commit 665634b

Browse files
authored
Merge pull request #145 from sion-codin/master
优化 Github Action
2 parents 844e4ca + d32cfee commit 665634b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: build
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- master
@@ -35,10 +36,11 @@ jobs:
3536
with:
3637
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
3738
# github-token: ${{ secrets.GITHUB_TOKEN }} # Optional
38-
vercel-args: "--prod" # Optional
39+
vercel-args: "--prod --debug" # Optional
3940
vercel-org-id: ${{ secrets.ORG_ID}} # Required
4041
vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
4142
working-directory: dist
43+
vercel-version: '48.9.0'
4244
- name: zip
4345
run: |
4446
zip -r dist.zip dist

0 commit comments

Comments
 (0)