refactored .drone.yml
All checks were successful
the build was successful

This commit is contained in:
Sebastian Frank 2019-02-20 10:39:19 +01:00
parent 79ab96b5c1
commit 79998ea71c
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3

View File

@ -28,7 +28,9 @@ pipeline:
- ./build.sh
when:
branch: master
event: push
event:
- push
- tag
build_mark2web_darwin:
image: golang:latest
@ -40,7 +42,9 @@ pipeline:
- ./build.sh
when:
branch: master
event: push
event:
- push
- tag
build_mark2web_windows:
image: golang:latest
@ -53,7 +57,9 @@ pipeline:
- ./build.sh
when:
branch: master
event: push
event:
- push
- tag
build_docker:
image: docker
@ -64,7 +70,9 @@ pipeline:
- /var/run/docker.sock:/var/run/docker.sock
when:
branch: master
event: push
event:
- push
- tag
deploy_website:
image: apairon/mark2web:latest
@ -73,13 +81,20 @@ pipeline:
- /mark2web -in website -out html -create -logLevel debug
when:
branch: master
event: push
event:
- push
- tag
prepare_release:
image: apairon/mark2web:latest
commands:
- gzip dist/*
- ls -la dist/
when:
branch: master
event:
- push
- tag
gitea_relase:
image: plugins/gitea-release
@ -92,4 +107,6 @@ pipeline:
- md5
- sha256
when:
event: tag
branch: master
event:
- tag