Add publish CI job

This commit is contained in:
Sonny Bakker 2025-05-04 09:36:32 +02:00
parent 6d371c13d7
commit e598e8f1ed
2 changed files with 18 additions and 0 deletions

12
.woodpecker/publish.yaml Normal file
View file

@ -0,0 +1,12 @@
when:
- event: tag
steps:
- name: publish package
image: ghcr.io/astral-sh/uv:python3.11-alpine
commands:
- uv build
- uv publish --index forgejo
environment:
UV_PUBLISH_TOKEN:
from_secret: publish_token