change: update ci, allow push to trigger it.†

This commit is contained in:
estrella
2023-06-11 11:15:50 +08:00
parent 39be8c6dc3
commit d3d98c8166

View File

@@ -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