diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 23180e14..7f4d4632 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -45,7 +45,7 @@ jobs: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: # if: github.event_name == 'release' && github.event.action == 'published' steps: