Add publish CI job
This commit is contained in:
parent
6d371c13d7
commit
e598e8f1ed
2 changed files with 18 additions and 0 deletions
12
.woodpecker/publish.yaml
Normal file
12
.woodpecker/publish.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue