This commit is contained in:
parent
79ab96b5c1
commit
79998ea71c
29
.drone.yml
29
.drone.yml
@ -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
|
Loading…
Reference in New Issue
Block a user