diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea69425..2ac4179 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,7 @@ build-deploy: # This job runs in the build stage, which runs first. image: python:latest + rules: + - if: $CI_COMMIT_TAG variables: TWINE_USERNAME: gitlab-ci-token TWINE_PASSWORD: $CI_JOB_TOKEN