Skip to content

Commit 273434c

Browse files
committed
add workflow_dispatch to publish.yml
1 parent 17cb280 commit 273434c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: publish
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- "v*"
@@ -183,6 +184,7 @@ jobs:
183184

184185
- name: Publish release
185186
uses: ncipollo/release-action@v1
187+
if: github.event_name == 'push'
186188
with:
187189
token: ${{ secrets.GITHUB_TOKEN }}
188190
artifacts: |

0 commit comments

Comments
 (0)