修复 CI 工作流中的条件判断,使用 github.event.act 替代 env.ACT
All checks were successful
/ depcheck (push) Successful in 1m29s
/ build-and-deploy-to-vercel (push) Successful in 1m59s
/ playwright (push) Successful in 3m0s

This commit is contained in:
严浩
2024-10-12 12:54:52 +08:00
parent 9f800090ea
commit a4202fdcf5

View File

@ -38,7 +38,7 @@ jobs:
env:
VITE_BUILD_COMMIT: ${{ github.sha }}
- name: 部署到 Surge
if: ${{ !env.ACT }} # https://nektosact.com/usage/index.html#skipping-steps
if: ${{ !github.event.act }} # https://nektosact.com/usage/index.html#skipping-steps
id: surge_deploy
# pnpm exec surge token / pnpx surge token
# https://github.com/Tencent/tdesign-vue-next/pull/1604#issuecomment-1236244550