---
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
- name: handycopy
image: drillster/drone-rsync
hosts: deimos.sys42.eu
user: syntaxerrormmm
port: 45454
key:
from_secret: fisso-ssh-key
source: out/*.whl
target: ~/