diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33c94e4..4498639 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,10 +14,11 @@ black: - black --check . pypi: - image: docker.km3net.de/base/python:3 + image: python:3.8 stage: deploy - cache: {} script: - - pip install -U twine + - apt-get update -qy + - apt-get install -y ruby-dev + - gem install dpl - python setup.py sdist - - twine upload dist/* + - dpl --provider=pypi --user=$TWINE_USERNAME --password=$TWINE_PASSWORD --skip_existing=true