mirror of
https://github.com/luong-komorebi/Awesome-Linux-Software.git
synced 2024-12-25 07:29:26 -05:00
22 lines
480 B
YAML
22 lines
480 B
YAML
image: node:10
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/ # Node modules and dependencies
|
|
|
|
before_script:
|
|
- npm install gitbook-cli -g # install gitbook
|
|
- gitbook fetch 3.2.3 # fetch latest stable version
|
|
- 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
|