From 84e818320ce016ab2dda3b1dd8e1a22f7831f1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Sat, 12 Oct 2024 16:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20CI=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E4=B8=AD=E7=9A=84=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E4=BF=9D=E5=9C=A8=20nektos/act=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=E8=B7=B3=E8=BF=87=20Surge=20=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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