We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e25aa commit b5c80a1Copy full SHA for b5c80a1
.github/workflows/ci-cd.yml
@@ -426,7 +426,7 @@ jobs:
426
# [1] https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter
427
- name: Check for PyPI token on tag
428
id: deployable
429
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
+ if: github.event_name == 'release' || github.event_name == 'repository_dispatch'
430
env:
431
PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}"
432
run: if [ -n "$PYPI_API_TOKEN" ]; then echo ::set-output name=DEPLOY::true; fi
0 commit comments