Skip to content

Commit 98ac0ea

Browse files
authored
Fix condition for publishing ee (#547)
Fixes: #544
1 parent b83147c commit 98ac0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
runs-on: ubuntu-24.04
8484
needs:
8585
- tox
86-
if: github.ref == 'refs/heads/main'
86+
if: github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
8787
# This condition ensures that publishing can only happen on push events to the main branch.
8888
# Pull request events are excluded as they don't have the necessary permissions to publish.
8989
steps:

0 commit comments

Comments
 (0)