screencloud-seafile/.drone.yml
2018-11-23 15:55:20 +01:00

31 lines
637 B
YAML

pipeline:
pretty:
image: unibeautify/autopep8
commands:
- autopep8 imports -r --in-place
- autopep8 main.py --in-place
modules:
image: python:3.5
commands:
- mkdir -p .pip3
- ./make-modules.sh --cache-dir .pip3
package:
image: kramos/alpine-zip
commands:
- zip seafile.zip -r modules icon.png main.py metadata.xml settings.ui
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:
image: kramos/alpine-zip
commands:
- rm -rf modules