Skip to content

Commit b5c80a1

Browse files
committed
activated pypi upload in cicd
1 parent 21e25aa commit b5c80a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ jobs:
426426
# [1] https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter
427427
- name: Check for PyPI token on tag
428428
id: deployable
429-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
429+
if: github.event_name == 'release' || github.event_name == 'repository_dispatch'
430430
env:
431431
PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}"
432432
run: if [ -n "$PYPI_API_TOKEN" ]; then echo ::set-output name=DEPLOY::true; fi

0 commit comments

Comments
 (0)