Add gitlab ci file.
This commit is contained in:
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
image: "vato.ddns.net:8083/python-infra:buster"
|
||||
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
build:
|
||||
script:
|
||||
- cd python && python setup.py bdist_wheel
|
||||
|
||||
deploy:
|
||||
script:
|
||||
- python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/*
|
||||
Reference in New Issue
Block a user