From d3d98c816605ff1212cadab205b5e82e3619eaa8 Mon Sep 17 00:00:00 2001 From: estrella Date: Sun, 11 Jun 2023 11:15:50 +0800 Subject: [PATCH] =?UTF-8?q?change:=20update=20ci,=20allow=20push=20to=20tr?= =?UTF-8?q?igger=20it.=E2=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2c8f423..edd975a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,8 +27,8 @@ jobs: build-webui: runs-on: ubuntu-latest if: > - ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true }} - || ${{ github.event_name == 'push' && contains(github.ref, 'tags') }} + ${{ github.event_name == 'pull_request' }} || + ${{ github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta')) }} needs: [test] steps: - name: Checkout