Awesome-Linux-Software/.gitlab-ci.yml

22 lines
480 B
YAML
Raw Normal View History

2018-12-16 18:39:04 +01:00
image: node:10
2018-07-08 17:39:39 +02:00
cache:
paths:
- node_modules/ # Node modules and dependencies
before_script:
- npm install gitbook-cli -g # install gitbook
2018-12-16 18:39:04 +01:00
- gitbook fetch 3.2.3 # fetch latest stable version
2018-07-08 17:39:39 +02:00
- gitbook install # add any requested plugins in book.json
pages:
stage: deploy
script:
- gitbook build . public # build to public path
artifacts:
paths:
- public
expire_in: 1 week
only:
- master # this job will affect only the 'master' branch