Skip to content

Commit

Permalink
Merge pull request #16 from Sagacify/fix-publishing-pypi
Browse files Browse the repository at this point in the history
feat(cd): add token pypi to poetry in cd
  • Loading branch information
Longwelwind authored Jun 27, 2024
2 parents d15522d + 0879230 commit cccd497
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ jobs:

- name: Push to private PyPI registry
if: ${{ steps.new_version.outputs.version != steps.current_version.outputs.version }}
run: poetry publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry config pypi-token.pypi ${POETRY_PYPI_TOKEN_PYPI}
poetry publish

0 comments on commit cccd497

Please sign in to comment.