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

Configured CI to automatically build PYPI packages.

parent 1dbbf8ed
No related branches found
No related tags found
No related merge requests found
Pipeline #1174720 failed
......@@ -50,3 +50,16 @@ deployment:
# do not run any globally defined before_script or after_script for this step
before_script: []
after_script: []
deploy_production:
stage: deploy
before_script:
- pip install twine
- python setup.py sdist
variables:
TWINE_USERNAME: $PRODUCTION_USERNAME
TWINE_PASSWORD: $PRODUCTION_PASSWORD
script:
- twine upload 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