From e388ab73dcb3c721e1731cdad9df599d2abba4bf Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Fri, 14 Aug 2020 17:28:41 +0930 Subject: [PATCH] Add gitlab ci file. --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1cd5a50 --- /dev/null +++ b/.gitlab-ci.yml @@ -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/* \ No newline at end of file