File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,18 @@ jobs:
8888
8989 # # 注意: 这里的操作时间vercel平台配置的命令拉取下来,执行
9090 - name : Pull Vercel Environment Information
91- run : npm i -g vercel && vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
91+ run : |
92+ npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
9293
9394 # # 执行vercel平台配置的命令
9495 - name : Build Project Artifacts
95- run : vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
96+ run : |
97+ npx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
9698
9799 # # dist文件同步到vercel平台
98100 - name : Deploy Project Artifacts to Vercel
99- run : vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
101+ run : |
102+ npx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
100103
101104 # # 版本发布
102105 release :
You can’t perform that action at this time.
0 commit comments