From c0495759fd769cb51b198860a2d941bc9c656095 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 27 Jun 2023 11:19:28 +0200 Subject: [PATCH] Core: reintegre drone --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..db6dfdb --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: pipeline +name: pdf-auralia-build-and-publish +type: docker + +# Spécifie l'image Docker à utiliser +image: python:3.11 + +# Étapes de la pipeline +steps: + - name: build-and-publish + image: python:3.11 + commands: + - curl -sSL https://install.python-poetry.org | python3 - + - export PATH="/root/.local/bin:$PATH" + - poetry --version + - poetry build + - poetry publish --username __token__ --password $PYPI_PASSWORD + environment: + PYPI_PASSWORD: + from_secret: pypi_password + + when: + event: + include: + - tag + +# Déclencheur de la pipeline +trigger: + event: + include: + - tag