From dfcf2fb341c36cf908fe6b40860f2847cef496c3 Mon Sep 17 00:00:00 2001 From: Anson Date: Mon, 20 Jan 2020 17:37:00 -0700 Subject: [PATCH] copy paste --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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