diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba1225d..f151159 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,9 +17,10 @@ black: deploy: stage: deploy image: python:3.8 + variables: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: $PYPI_TOKEN script: - - pip install -U setuptools wheel twine - - python setup.py sdist bdist_wheel - - twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist/* + - twine upload dist/* # only: # - tags