Skip to content

Commit

Permalink
Configure publishing package to PyPI and Test-PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldat committed Sep 12, 2023
1 parent 04413e3 commit b94393e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ jobs:
with:
name: built-artifacts
path: dist
- name: Publish package to Tet PyPI
- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
- name: Publish package to PyPI
if: github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit b94393e

Please sign in to comment.