From faf6e86a3cf55d8cb6f6c30ef0664ca1a88dcc5e Mon Sep 17 00:00:00 2001 From: dscripka Date: Sun, 5 Mar 2023 00:50:48 -0500 Subject: [PATCH] Update Github actions config to allow manual workflow runs [skip ci] --- .github/workflows/build_and_publish_to_pypi.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_publish_to_pypi.yml b/.github/workflows/build_and_publish_to_pypi.yml index ccaba17..ce8e4be 100755 --- a/.github/workflows/build_and_publish_to_pypi.yml +++ b/.github/workflows/build_and_publish_to_pypi.yml @@ -1,6 +1,8 @@ name: Publish Python distributions to PyPI -on: push +on: + push: + workflow_dispatch: jobs: build-n-publish: @@ -28,4 +30,4 @@ jobs: if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }}