This commit is contained in:
parent
79ab96b5c1
commit
79998ea71c
29
.drone.yml
29
.drone.yml
@ -28,7 +28,9 @@ pipeline:
|
|||||||
- ./build.sh
|
- ./build.sh
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
build_mark2web_darwin:
|
build_mark2web_darwin:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
@ -40,7 +42,9 @@ pipeline:
|
|||||||
- ./build.sh
|
- ./build.sh
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
build_mark2web_windows:
|
build_mark2web_windows:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
@ -53,7 +57,9 @@ pipeline:
|
|||||||
- ./build.sh
|
- ./build.sh
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
build_docker:
|
build_docker:
|
||||||
image: docker
|
image: docker
|
||||||
@ -64,7 +70,9 @@ 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
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
deploy_website:
|
deploy_website:
|
||||||
image: apairon/mark2web:latest
|
image: apairon/mark2web:latest
|
||||||
@ -73,13 +81,20 @@ 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
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
prepare_release:
|
prepare_release:
|
||||||
image: apairon/mark2web:latest
|
image: apairon/mark2web:latest
|
||||||
commands:
|
commands:
|
||||||
- gzip dist/*
|
- gzip dist/*
|
||||||
- ls -la dist/
|
- ls -la dist/
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
gitea_relase:
|
gitea_relase:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -92,4 +107,6 @@ pipeline:
|
|||||||
- md5
|
- md5
|
||||||
- sha256
|
- sha256
|
||||||
when:
|
when:
|
||||||
event: tag
|
branch: master
|
||||||
|
event:
|
||||||
|
- tag
|
Loading…
Reference in New Issue
Block a user