loaih/.drone.yml

28 lines
485 B
YAML

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