test with drone
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
9a0f2e01a6
commit
395134f1bf
|
@ -0,0 +1,39 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
workspace:
|
||||
base: /
|
||||
path: tulpanomicon
|
||||
|
||||
steps:
|
||||
- name: build ebook files
|
||||
image: xena/pandoc
|
||||
pull: always
|
||||
commands:
|
||||
- cd src && ./build.sh
|
||||
volumes:
|
||||
- name: book
|
||||
path: /tulpanomicon/book
|
||||
- name: build mdbook
|
||||
image: xena/mdbook
|
||||
pull: always
|
||||
commands:
|
||||
- mdbook build
|
||||
volumes:
|
||||
- name: book
|
||||
path: /tulpanomicon/book
|
||||
- name: build image
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- name: book
|
||||
path: /tulpanomicon/book
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker build .
|
||||
|
||||
volumes:
|
||||
- name: book
|
||||
temp: {}
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
|
@ -4,6 +4,7 @@ set -e
|
|||
set -x
|
||||
|
||||
sh -c 'cd src && ./build.sh'
|
||||
mdbook build
|
||||
|
||||
time=`date +%m%d%Y%H%M`
|
||||
tag=`git describe --tags`
|
||||
|
|
|
@ -107,5 +107,4 @@ mkdir -p ../book
|
|||
cp -vrf tulpanomicon.mobi ../book/
|
||||
cp -vrf tulpanomicon.epub ../book/
|
||||
cp -vrf tulpanomicon.pdf ../book/
|
||||
cd .. && mdbook build
|
||||
|
||||
|
|
Loading…
Reference in New Issue