Commit 758b8b33 authored by Michal Lukac's avatar Michal Lukac

Add new file gitlab-ci.yml for automatic deployment to PyPI.

parent 1607a6cc
image: python:3.6-alpine
stages:
- deploy
before_script:
- pip install twine
- python setup.py sdist bdist_wheel
deploy_production:
stage: deploy
variables:
TWINE_USERNAME: $PRODUCTION_USERNAME
TWINE_PASSWORD: $PRODUCTION_PASSWORD
script:
- twine upload dist/*
only:
- tags
\ No newline at end of file
Markdown is supported
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