From 953006f5be6a320ab63407750ecddc41d0b453cc Mon Sep 17 00:00:00 2001 From: Piv Date: Sat, 15 Aug 2020 15:37:03 +0930 Subject: [PATCH] Fix deploy stage --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b401000..cbd0fae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,11 @@ stages: build: stage: build script: - - cd python && python setup.py bdist_wheel + - cd python && python setup.py bdist_wheel && cd .. deploy: stage: deploy script: - - python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/* \ No newline at end of file + - python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/* + only: + - tags \ No newline at end of file