Commit 356b6b0c authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Update .gitlab-ci.yml

parent fbfad9d1
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -15,3 +15,5 @@ deploy_job:
        - pip install twine
        - pip install twine
        - python setup.py sdist bdist_wheel
        - python setup.py sdist bdist_wheel
        - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://www.ict.inaf.it/gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*
        - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://www.ict.inaf.it/gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*
    rules:
        - if: $CI_COMMIT_TAG