Add deploying to PyPI when a tag is created

This commit is contained in:
Raoul Snyman 2020-04-23 23:39:53 -07:00
parent 0193ef3f7c
commit 2f55d5aa6b
Signed by: raoul
GPG Key ID: F55BCED79626AE9C
1 changed files with 9 additions and 0 deletions

View File

@ -70,6 +70,15 @@ test-display:
- yarn install
- yarn test --browsers ChromiumHeadlessCI
upload-pypi:
stage: deploy
image: openlp/debian
script:
- python3 setup.py sdist bdist_wheel
- twine upload dist/*
only:
- tags
pages:
stage: deploy
image: openlp/debian