use POETRY_PYPI_TOKEN_PYPI to publish

https://python-poetry.org/docs/repositories/
This commit is contained in:
Dmitry Belyaev 2021-10-15 09:34:07 +03:00
parent 782ab05126
commit f7a84cc58c
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
1 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,6 @@ jobs:
run: poetry build
- name: Publish
env:
REPO_USERNAME: __token__
REPO_PASSWORD: ${{ secrets.pypi_token }}
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_token }}
run: |
poetry publish -n -u $REPO_USERNAME -p $REPO_PASSWORD
poetry publish -n