Skip to content

Commit

Permalink
πŸ› pass pypi token in environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ediskandarov committed Mar 2, 2021
1 parent 6d3f46a commit 10023f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Publish
if: success()
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry config pypi-token.pypi $POETRY_PYPI_TOKEN_PYPI
poetry config pypi-token.pypi "$POETRY_PYPI_TOKEN_PYPI"
poetry publish --build

0 comments on commit 10023f2

Please sign in to comment.