Skip to content

Commit

Permalink
Enable trusted publishing
Browse files Browse the repository at this point in the history
and remove test.pypi.org configuration
  • Loading branch information
jurihock committed Mar 26, 2024
1 parent 12aa934 commit c71deb1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ jobs:
run: |
python -m build
- name: Publish (pypi.org)
- name: Publish
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish (test.pypi.org)
if: ${{ false }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy

0 comments on commit c71deb1

Please sign in to comment.