From 214c9667d014eb3784d90c6472819665e1b43b72 Mon Sep 17 00:00:00 2001 From: windysha <834828088@qq.com> Date: Wed, 24 Jan 2024 02:07:49 +0800 Subject: [PATCH] fix github action bug --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8bae563..1552b05 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,7 +44,7 @@ jobs: cp -r assets wasm/ - uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' + if: contains(github.ref, 'refs/tags') || github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./wasm