Commit 8876de4b authored by Leo P. Singer's avatar Leo P. Singer
Browse files

Use PyPI API tokens

parent 59176fe2
Pipeline #195622 failed with stages
in 37 seconds
......@@ -65,14 +65,15 @@ pages:
sccb:
stage: deploy
# Upload package to PyPI
# Upload package to PyPI.
# Place your PyPI API token in the repository's GitLab CI secrets.
pypi:
stage: deploy
variables:
GIT_STRATEGY: none
script:
- pip install twine
- twine upload *.tar.* *.whl
- twine upload --username __token__ --password $PYPI_API_TOKEN *.tar.* *.whl
dependencies:
- dist
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