diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a0319b..32ba334 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,17 +33,19 @@ build: - dist/* expire_in: 1 day -#publish: -#stage: release -#image: python:3.9.21 -#tags: -#- gitlab-org-docker -#needs: -#- job: build -#artifacts: true -#script: -#- python3 -m pip install twine -#- python3 -m twine upload --repository testpypi dist/* +publish: + stage: release + image: python:3.9.21 + tags: + - gitlab-org-docker + variables: + TWINE_PASSWORD: $TWINE_API + needs: + - job: build + artifacts: true + script: + - python3 -m pip install twine + - python3 -m twine upload --repository testpypi dist/* create_tag: extends: .git:create_tag