Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon authored Dec 14, 2024
1 parent 0be9a7f commit 614de15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ name: publish

# Controls when the workflow will run
on:
push:
branches: [master]
workflow_dispatch:

jobs:
publish:
if: github.event_name == 'workflow_dispatch'
if: github.ref == 'refs/heads/master
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 614de15

Please sign in to comment.