Core: reintegre drone
Some checks failed
Gitea Actions Demo / Hello-Gitea-Actions (push) Failing after 21s
Some checks failed
Gitea Actions Demo / Hello-Gitea-Actions (push) Failing after 21s
This commit is contained in:
parent
90e16988ce
commit
c0495759fd
32
.drone.yml
Normal file
32
.drone.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user