loaih/.drone.yml

26 lines
441 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: compile
image: python
commands:
- pip install wheel
- python setup.py bdist_wheel
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: loaih-deploy
base_url: https://git.libreitalia.org
files: dist/*.whl
checksum: md5
draft: true
when:
event: tag