feat: 更新 CI 工作流,使用 npx 执行 vite 构建命令
All checks were successful
/ surge (push) Successful in 51s

This commit is contained in:
mac-mini-2024
2024-11-20 22:11:19 +08:00
parent 96e10ac5a8
commit fa04c668c6

View File

@ -11,7 +11,7 @@ jobs:
- uses: yanhao98/composite-actions/setup-node-environment@main
- name: deploy
run: |
vite build
npx vite build
export DEPLOY_DOMAIN=https://vue-formkit-example.oo1.dev
cp dist/index.html dist/200.html
npx surge --project ./dist --domain $DEPLOY_DOMAIN --token d843de16b331c626f10771245c56ed93 # npx surge token