Skip to content

Commit

Permalink
Trigger publish job on release events (#431)
Browse files Browse the repository at this point in the history
- Use the `release` event from Github in order to trigger the `publish` action
  • Loading branch information
fmrsabino authored Jan 10, 2023
1 parent 5a5d207 commit 478a38a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- master
- develop
pull_request:
release:
types: [ released ]


jobs:
Expand Down Expand Up @@ -83,7 +85,7 @@ jobs:
needs:
- linting
- test-app
if: startsWith(github.ref, 'refs/tags/')
if: (github.event_name == 'release' && github.event.action == 'released')
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down

0 comments on commit 478a38a

Please sign in to comment.