Skip to content

Commit 614de15

Browse files
authored
Update publish.yml
1 parent 0be9a7f commit 614de15

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

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

33
# Controls when the workflow will run
44
on:
5-
push:
6-
branches: [master]
75
workflow_dispatch:
86

97
jobs:
108
publish:
11-
if: github.event_name == 'workflow_dispatch'
9+
if: github.ref == 'refs/heads/master
1210
runs-on: ubuntu-latest
1311
steps:
1412
- name: Checkout code

0 commit comments

Comments
 (0)