diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2efced2..6d5a229 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,11 @@ # Release a new version of the project to PyPI # To trigger this workflow manually, run the following command: -# gh workflow run release.yml -f tag=v1.0.0 -# or git tag 1.0.0 && git push origin --tags - +# gh release create name: Publish Release on: - push: - tags: - - '*' + release: + types: [published] jobs: build-and-publish: