.gitlab-ci.yml 583 Bytes
Newer Older
1
image: hatsoftwares/gitbook:latest
2 3 4 5 6

pages:
  script:
    - gitbook init
    - gitbook install
7 8
    - git config user.name "Nobody"
    - git config user.email "nobody@framasoft.org"
Luc Didry's avatar
Luc Didry committed
9
    - git status
10 11
    - git fetch https://framagit.org/Framatophe/manueldumo.git
    - git subtree pull --prefix fr/manueldumo https://framagit.org/Framatophe/manueldumo.git master --squash
12
    - gitbook build
 JosephK's avatar
JosephK committed
13
    - sed -i -e 's/<body>/<body><script src="lang.js" type="text\/javascript"><\/script>/g' _book/index.html
14
    - mv _book/ public/
15 16 17 18
  artifacts:
    paths:
      - public
  only:
 JosephK's avatar
JosephK committed
19
    - master