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

22 lines
480 B
YAML
Raw Normal View History

2018-12-16 12:39:04 -05:00
image: node:10
2018-07-08 11:39:39 -04:00
cache:
paths:
- node_modules/ # Node modules and dependencies
before_script:
- npm install gitbook-cli -g # install gitbook
2018-12-16 12:39:04 -05:00
- gitbook fetch 3.2.3 # fetch latest stable version
2018-07-08 11:39:39 -04: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