Skip to content
Snippets Groups Projects
Commit c8d54632 authored by Loïc Musy's avatar Loïc Musy
Browse files

Updating .yml


Signed-off-by: default avatarLoic.Musy1 <loic.musy@unige.ch>
parent 088c64da
Branches
Tags 1.0.2.2
No related merge requests found
Pipeline #29834 failed
deploy_staging:
stage: deploy
variables:
TWINE_USERNAME: $STAGING_USERNAME
TWINE_PASSWORD: $STAGING_PASSWORD
script:
- twine upload --repository testpypi dist/* --verbose
except:
- tags
image: python:3.9.2-buster
stages:
- deploy_stage
- deploy_prod
before_script:
- pip install twine
- python setup.py sdist
deploy_production:
stage: deploy
stage: deploy_prod
variables:
TWINE_USERNAME: __token__
TWINE_PASSWORD: $PRODUCTION_PASSWORD
script:
- twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --verbose
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment