loaih/.drone.yml

34 lines
557 B
YAML
Raw Normal View History

2023-01-04 22:06:48 +00:00
---
kind: pipeline
2023-11-30 22:36:45 +00:00
type: docker
2023-01-04 22:06:48 +00:00
name: default
steps:
- name: compile
image: python
commands:
- pip install wheel
- python setup.py bdist_wheel
2023-01-04 22:11:27 +00:00
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: loaih-deploy
base_url: https://git.libreitalia.org
2023-01-04 22:44:10 +00:00
files: dist/*.whl
checksum: md5
2023-01-04 22:15:07 +00:00
draft: true
2023-12-01 21:44:42 +00:00
- name: publish
image: plugins/pypi
settings:
username: syntaxerrormmm
password:
from_secret: pypi
trigger:
event:
- tag
- push