This commit is contained in:
Salad Dais
2021-05-01 21:44:24 +00:00
parent 629814a611
commit 74b1e342bc
2 changed files with 8 additions and 1 deletions

View File

@@ -34,3 +34,10 @@ jobs:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}