Skip to content

Commit 538cdf6

Browse files
authored
Deploy only when release is created (#414)
* Deploy to PyPI only when a release is created * Deploy to PyPI only when a release is created
1 parent a924dd4 commit 538cdf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python_publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,6 @@ jobs:
111111
- run: pipx run twine check --strict dist/*
112112
- name: Publish package distributions to PyPI
113113
uses: pypa/gh-action-pypi-publish@release/v1
114-
# with:
115-
# password: ${{ secrets.PYPI_PASSWORD }}
114+
with:
115+
attestations: false
116+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)