python/.woodpecker/deploy.yml

14 lines
304 B
YAML
Raw Normal View History

2022-09-12 17:14:43 +02:00
pipeline:
deploy:
2022-09-12 17:31:22 +02:00
image: python:latest
when:
event: tag
branch: [main, master]
2022-09-12 17:14:43 +02:00
commands:
2022-09-12 17:31:22 +02:00
- python --version
- pip install -U twine --quiet
2022-09-12 17:14:43 +02:00
- twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
depends_on:
- build