fixed .drone.yml
This commit is contained in:
parent
3331625885
commit
ba8ec9b6e0
13
.drone.yml
13
.drone.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user