Commit 7023910a authored by Leo Pound Singer's avatar Leo Pound Singer

Use PyPI API tokens

parent 945af261
Pipeline #195625 failed
......@@ -67,7 +67,8 @@ pages:
only:
- master
# Upload package to PyPI
# Upload package to PyPI.
# Place your PyPI API token in the repository's GitLab CI secrets.
pypi:
stage: deploy
image: python:slim
......@@ -75,7 +76,7 @@ pypi:
GIT_STRATEGY: none
script:
- pip install twine
- twine upload *.tar.* *.whl
- twine upload --username __token__ --password $PYPI_API_TOKEN *.tar.* *.whl
dependencies:
- build
only:
......
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