python-sponsorblock/.woodpecker.yml
Elara6331 b57991c3ce
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci: install requests package
2024-04-25 19:50:11 -07:00

37 lines
781 B
YAML

labels:
platform: linux/amd64
steps:
build:
image: python
commands:
- python -m pip install hatch requests
- python -m unittest
- hatch build
when:
- event: manual
- event: tag
publish-gitea:
image: gitea.elara.ws/music-kraken/plugin-twine
settings:
repository_url: "https://gitea.elara.ws/api/packages/music-kraken/pypi"
username:
from_secret: gitea_username
password:
from_secret: gitea_password
when:
- event: manual
- event: tag
publish-pypi:
image: gitea.elara.ws/music-kraken/plugin-twine
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
when:
- event: manual
- event: tag