Skip to content
Snippets Groups Projects
Commit 7e445f43 authored by Michal Maciejewski's avatar Michal Maciejewski
Browse files

Automatic generation of pypi.

parent 2f56ad23
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,6 @@ pages:
- public
only:
- master
- tags
# Deploy to an EOS folder the contents generated
deploy_documentation:
......@@ -42,7 +41,6 @@ deploy_documentation:
# Only when the master branch is pushed
only:
- master
- tags
# Custom docker image providing the needed tools to deploy in EOS
image: gitlab-registry.cern.ch/ci-tools/ci-web-deployer:latest
script:
......@@ -58,11 +56,11 @@ deploy_production:
stage: deploy
before_script:
- pip install twine
- python3 setup.py sdist
- python setup.py sdist
variables:
TWINE_USERNAME: $PRODUCTION_USERNAME
TWINE_PASSWORD: $PRODUCTION_PASSWORD
script:
- python3 -m twine upload --skip-existing dist/*
- python -m twine upload --skip-existing dist/*
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment