Skip to content

Commit 0a94d81

Browse files
committed
Remove manual dispatch
Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
1 parent 5cefaa0 commit 0a94d81

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/weekly-preview.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
pull_request:
1010
branches:
1111
- dev
12-
workflow_dispatch:
1312

1413
env:
1514
PYTHON_VER: '3.10'
@@ -95,15 +94,15 @@ jobs:
9594
(cd "$(mktemp -d)" && python -c 'import monai; print(monai.__version__)')
9695
# TODO: re-enable once the test token works, currently this is getting 403 Forbidden
9796
# - name: Publish to Test PyPI
98-
# if: github.event_name == 'pull_request' # only test publish on PR
97+
# if: github.event_name == 'pull_request' && github.repository == 'Project-MONAI/MONAI' # only test publish on PR
9998
# run: |
10099
# twine upload -r testpypi dist/*
101100
# env:
102101
# TWINE_USERNAME: __token__
103102
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
104103
# TWINE_NON_INTERACTIVE: true
105104
- name: Publish to PyPI
106-
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' # only publish on cron or manual run
105+
if: github.event_name == 'schedule' # only publish on cron run
107106
uses: pypa/gh-action-pypi-publish@release/v1
108107
with:
109108
user: __token__

0 commit comments

Comments
 (0)