Skip to content

Commit

Permalink
token (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-treebeard authored Aug 19, 2022
1 parent 91193bc commit b549ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- run: poetry version ${GITHUB_REF:10}
- run: poetry build
- run: pip install twine==4.0.1
- run: twine upload dist/* -u alex-treebeard -p ${{ secrets.PYPI_PASSWORD }}
- run: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}
- uses: EndBug/[email protected]
with:
author_name: github-actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- run: pip install dist/*whl --force-reinstall
- run: pytest --nbmake tests/resources/mock.ipynb
- run: pip install twine==4.0.1
- run: twine upload -r testpypi dist/* -u alex-treebeard-test -p ${{ secrets.TEST_PYPI_PASSWORD }}
- run: twine upload -r testpypi dist/* -u __token__ -p ${{ secrets.TEST_PYPI_API_TOKEN }}

0 comments on commit b549ab3

Please sign in to comment.