diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7c5bcd5b805ef1ab0bf97a9f747f0c1843e15e5..2241d98b209888a6988407326b235c79512bf25e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,8 @@ image: clarinpl/python:3.8 -variables: - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" - cache: paths: - .tox - - .cache/pip - - venv/ - stages: - publish @@ -22,14 +16,14 @@ before_script: pypi_publish: before_script: - - pip3 list - - pip3 install twine + - pip list + - pip install twine only: - main stage: publish script: - - python3 setup.py sdist bdist_wheel - - python3 -m twine upload + - python setup.py sdist bdist_wheel + - python -m twine upload --skip-existing --repository-url https://pypi.clarin-pl.eu/ -u $PIPY_USER