Skip to content

Commit

Permalink
Added workflow_dispatch for build-release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosomb authored Oct 4, 2024
1 parent b48670f commit 9a8a580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build & Release draft
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
deploy:
Expand Down Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit 9a8a580

Please sign in to comment.