Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Leo Pound Singer
ligo-followup-advocate
Commits
7023910a
Commit
7023910a
authored
Mar 01, 2021
by
Leo Pound Singer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PyPI API tokens
parent
945af261
Pipeline
#195625
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
No files found.
.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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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