Skip to content

Commit

Permalink
Add Pypi API token secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Elter committed Nov 24, 2023
1 parent 7416c6b commit 5949994
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

github-release:
name: >-
Expand Down Expand Up @@ -114,4 +116,5 @@ jobs:
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

0 comments on commit 5949994

Please sign in to comment.