Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SCDL
Documentation du SCDL
Commits
f04170f3
Commit
f04170f3
authored
Oct 12, 2018
by
Christophe Benz
Browse files
Add CI config
parent
93fc51e9
Pipeline
#45
passed with stage
in 2 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
f04170f3
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment