Skip to content

Commit

Permalink
updating actions to trigger on published
Browse files Browse the repository at this point in the history
  • Loading branch information
Esben Jannik Bjerrum committed Apr 3, 2024
1 parent d7dfaa7 commit a3a1578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- master
release:
types: [published, released]
types: [published]

jobs:
format:
Expand All @@ -32,7 +32,7 @@ jobs:
name: deploy to pypi
runs-on: ubuntu-latest
# this checks that the commit is a tagged commit
if: github.event_name == 'release' && github.event.action == 'created'
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit a3a1578

Please sign in to comment.