修复 CI 工作流中的条件判断,使用 github.event.act 替代 env.ACT
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user