Commit f04170f3 authored by Christophe Benz's avatar Christophe Benz
Browse files

Add CI config

parent 93fc51e9
Pipeline #45 passed with stage
in 2 minutes and 53 seconds
image: node:10
before_script:
- apt --yes update
- apt --yes install --no-install-recommends openssh-client
- npm install gitbook-cli -g
# Run ssh-agent (inside the build environment).
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store.
- ssh-add <(echo "$SSH_PRIVATE_KEY")
# Add the SSH keys of remote Git servers, to disable host key checking questions.
- mkdir -p ~/.ssh
- ssh-keyscan -t rsa dev.validata.fr >> ~/.ssh/known_hosts
job:
stage: build
script:
- gitbook build
- scp -r _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