Update .gitlab-ci.yml

This commit is contained in:
Dorian Zedler 2018-12-13 15:28:06 +01:00
parent fc09168cf1
commit 65f6625cae

View file

@ -6,6 +6,7 @@ cache:
paths: paths:
- node_modules/ # Node modules and dependencies - node_modules/ # Node modules and dependencies
before_script: before_script:
- ls
- npm install gitbook-cli -g # install gitbook - npm install gitbook-cli -g # install gitbook
- gitbook fetch 3.2.3 # fetch final stable version - gitbook fetch 3.2.3 # fetch final stable version
- gitbook install # add any requested plugins in book.json - gitbook install # add any requested plugins in book.json
@ -34,9 +35,9 @@ pages:
stage: deploy stage: deploy
script: script:
- gitbook build . public # build to public path - gitbook build . public # build to public path
- mv assets/ public/
- echo "finished"
- ls - ls
#- mv assets/ public/
- echo "finished"
artifacts: artifacts:
paths: paths:
- public - public