Commit 7049b966 authored by Christophe Benz's avatar Christophe Benz
Browse files

Generate PDF from CI

parent 0b54ea2f
Pipeline #181 passed with stage
in 4 minutes and 18 seconds
...@@ -2,12 +2,11 @@ image: node:10 ...@@ -2,12 +2,11 @@ image: node:10
before_script: before_script:
- apt --yes update - apt --yes update
- apt --yes install --no-install-recommends rsync - apt --yes install --no-install-recommends calibre rsync
# image node:10 already provides openssh-client # image node:10 already provides openssh-client
- npm install gitbook-cli -g - npm install gitbook-cli -g
# Run ssh-agent (inside the build environment). # Run ssh-agent (inside the build environment).
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -23,4 +22,5 @@ job: ...@@ -23,4 +22,5 @@ job:
script: script:
- gitbook install - gitbook install
- gitbook build - gitbook build
- gitbook pdf
- rsync -avz --delete _book/ validata@dev.validata.fr:validata-doc-html/ - rsync -avz --delete _book/ validata@dev.validata.fr:validata-doc-html/
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment