fixed .drone.yml

This commit is contained in:
Sebastian Frank 2019-02-20 11:37:59 +01:00
parent 3331625885
commit ba8ec9b6e0
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3

View File

@ -28,8 +28,7 @@ pipeline:
commands: commands:
- ./build.sh - ./build.sh
when: when:
branch: [ master ] event: [ tag ]
event: [ push, tag ]
build_mark2web_darwin: build_mark2web_darwin:
image: golang:latest image: golang:latest
@ -40,8 +39,7 @@ pipeline:
commands: commands:
- ./build.sh - ./build.sh
when: when:
branch: [ master ] event: [ tag ]
event: [ push]
build_mark2web_windows: build_mark2web_windows:
image: golang:latest image: golang:latest
@ -53,8 +51,7 @@ pipeline:
commands: commands:
- ./build.sh - ./build.sh
when: when:
branch: [ master ] event: [ tag ]
event: [ push, tag ]
build_docker: build_docker:
image: docker image: docker
@ -65,7 +62,7 @@ pipeline:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
when: when:
branch: [ master ] branch: [ master ]
event: [ push, tag ] event: [ push ]
deploy_website: deploy_website:
image: apairon/mark2web:latest image: apairon/mark2web:latest
@ -74,7 +71,7 @@ pipeline:
- /mark2web -in website -out html -create -logLevel debug - /mark2web -in website -out html -create -logLevel debug
when: when:
branch: [ master ] branch: [ master ]
event: [ push, tag ] event: [ push ]
prepare_release: prepare_release:
image: apairon/mark2web:latest image: apairon/mark2web:latest