manga_up/.drone.yml

23 lines
426 B
YAML
Raw Normal View History

2021-06-24 19:25:44 +00:00
---
kind: pipeline
type: docker
name: build and publish
steps:
- name: build
2021-06-24 20:49:29 +00:00
image: registry.kucharczyk.tech/python-pypi
2021-06-24 19:25:44 +00:00
commands:
- python -m build
- name: publish
2021-06-24 20:49:29 +00:00
image: registry.kucharczyk.tech/python-pypi
2021-06-24 20:04:46 +00:00
commands:
- python -m twine upload -u $USERNAME -p $PASSWORD dist/*
environment:
USERNAME:
2021-06-24 19:25:44 +00:00
from_secret: pypi_username
2021-06-24 20:04:46 +00:00
PASSWORD:
2021-06-24 19:25:44 +00:00
from_secret: pypi_password
trigger:
event:
- tag