Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Leo P. Singer
ligo-followup-advocate
Commits
7023910a
Commit
7023910a
authored
Mar 01, 2021
by
Leo P. Singer
Browse files
Use PyPI API tokens
parent
945af261
Pipeline
#195625
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7023910a
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment