Commit c8d54632 authored by Loïc Musy's avatar Loïc Musy
Browse files

Updating .yml


Signed-off-by: Loïc Musy's avatarLoic.Musy1 <loic.musy@unige.ch>
parent 088c64da
Pipeline #29834 failed with stage
in 1 minute and 9 seconds
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment