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
- 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 >> ~/.ssh/known_hosts
stage: build
- gitbook build
- scp -r _book
\ No newline at end of file
Supports Markdown
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