diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e196b8e..2db030f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,10 @@ test: run: script: - - pip install setuptools + - pip install setuptools twine - pip install . - python setup.py sdist + - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --verbose --repository-url https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/* artifacts: paths: - dist/*