loaih/.drone.yml

34 lines
552 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: compile
image: python
commands:
- pip install wheel
- python setup.py bdist_wheel
- 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
- name: publish
image: plugins/pypi
settings:
username: __token__
password:
from_secret: pypi
trigger:
event:
- tag
- push