Commit 4ae0d52e authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

Use PyPI API tokens instead of username and password

parent ef6ebea5
......@@ -192,13 +192,14 @@ pages:
- test/python3.7
# Upload package to PyPI
# Upload package to PyPI.
# Place your PyPI API token in the repository's GitLab CI secrets.
stage: deploy
image: python:slim
- pip install twine
- twine upload *.tar.* *.whl
- twine upload --username __token__ --password $PYPI_API_TOKEN *.tar.* *.whl
- sdist
- bdist
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment