diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1244c1ef8..15f74c9d6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,8 @@ name: Upload to PyPI on: - push: - branches: - - main - - master + release: + types: [published] jobs: Upload: