diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0e5f6f1..31fbfc1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,7 +39,7 @@ jobs: VITE_BUILD_COMMIT: ${{ github.sha }} - name: 部署到 Surge id: surge_deploy - if: ${{ !github.event.act }} # https://nektosact.com/usage/index.html#skipping-steps + if: ${{ github.actor != 'nektos/act' }} # https://nektosact.com/usage/index.html#skipping-steps uses: yanhao98/composite-actions/deploy-dist-to-surge@c1cee30ad33e363e4a7f6a5e15b03a9d2034b922 - name: Install Playwright Browsers run: pnpm exec playwright install --with-deps