diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 147fea26..fa116fd1 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -1,5 +1,5 @@ name: Build & Release draft -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: deploy: @@ -58,7 +58,7 @@ jobs: update_release_draft: runs-on: ubuntu-latest needs: [deploy] - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' + if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.event.ref == 'refs/heads/master' steps: - name: Download artifact uses: actions/download-artifact@v4.1.7