Skip to content

Commit ba0e8f3

Browse files
author
Anze
committed
Use API token instead of username/pass for PyPi
1 parent 6590032 commit ba0e8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ deploy to pypi:
1515
- sed -i "s/@@VERSION@@/$CI_COMMIT_TAG/g" ./setup.py
1616
- python setup.py sdist
1717
- python setup.py bdist_wheel
18-
- twine upload -r pypi -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
18+
- twine upload -r pypi -u __token__ -p "${PYPI_TOKEN}" dist/*

0 commit comments

Comments
 (0)