diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index fdb19c08..627281ba 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -48,6 +48,8 @@ jobs: permissions: id-token: write if: github.event_name == 'release' && github.event.action == 'published' + # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this) + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: