python/.woodpecker/deploy.yml
RealStickman 095c6cb370
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/linting Pipeline failed
Add secrets to deploy
2022-09-12 18:43:38 +02:00

15 lines
352 B
YAML

pipeline:
deploy:
image: python:latest
when:
event: tag
branch: [main, master]
secrets: [ twine_username, twine_password ]
commands:
- python --version
- pip install -U twine --quiet
- twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
depends_on:
- build