Skip to content

Commit

Permalink
run when release is published.
Browse files Browse the repository at this point in the history
and allow workflow_dispatch.
  • Loading branch information
hendriks73 committed Aug 1, 2024
1 parent fb827e6 commit 1144d04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
- dev
- main

workflow_dispatch:

jobs:
build:

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Upload Python Package

on:
release:
types: [created]
types: [published]

workflow_dispatch:

jobs:
deploy:
Expand Down

0 comments on commit 1144d04

Please sign in to comment.