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

Corrected CI package.

parent 6eccbf77
No related branches found
No related tags found
No related merge requests found
Pipeline #1174445 passed
......@@ -31,8 +31,9 @@ pages:
artifacts:
paths:
- public
# only:
# - master
only:
- master
- tags
# Deploy to an EOS folder the contents generated
deploy_documentation:
......@@ -41,6 +42,7 @@ 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:
......@@ -56,11 +58,11 @@ deploy_production:
stage: deploy
before_script:
- pip install twine
- python3 setup.py sdist bdist_wheel
- python3 setup.py sdist
variables:
TWINE_USERNAME: $PRODUCTION_USERNAME
TWINE_PASSWORD: $PRODUCTION_PASSWORD
script:
- twine upload --skip-existing dist/*
- python3 -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