release to gitea

This commit is contained in:
shimun 2018-11-23 15:55:20 +01:00
parent 96a6796067
commit 68a15dbfc8

View File

@ -13,12 +13,15 @@ pipeline:
image: kramos/alpine-zip
commands:
- zip seafile.zip -r modules icon.png main.py metadata.xml settings.ui
upload_package:
image: vividboarder/drone-webdav
file: seafile.zip
destination: https://git.shimun.net/files/screencloud-seafile/$$TAG.zip
username: git
secrets: [webdav_password]
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.shimun.net
files: seafile.zip
checksum:
- sha256
when:
event: tag
clean: