From ca6d61d9c761e43f2f50fb52b873615c34d4ab0c Mon Sep 17 00:00:00 2001 From: Georg Krause <mail@georg-krause.net> Date: Sat, 2 Apr 2022 12:00:31 +0200 Subject: [PATCH] Configure Pipeline to use pypi token --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 200dae1..9ba722b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,12 +35,14 @@ package: deploy: stage: deploy image: $CI_REGISTRY/funkwhale/backend-test-docker:3.10 + variables: + POETRY_PYPI_TOKEN_PYPI=$PYPI_TOKEN before_script: - poetry install - git fetch --tags script: - poetry version $(git describe --tags --abbrev=0) - poetry build - - poetry publish --username $PYPI_USERNAME --password $PYPI_TOKEN + - poetry publish only: - tags -- GitLab