Commit 787d6dcf authored by zhouzihao's avatar zhouzihao

更新.gitlab-ci.yml

parent b1369c93
Pipeline #85 passed with stages
in 4 minutes and 4 seconds
...@@ -34,6 +34,11 @@ ...@@ -34,6 +34,11 @@
image: node:10-alpine image: node:10-alpine
before_script:
- npm install gitbook-cli -g
- gitbook fetch 3.2.3
- gitbook install
stages: stages:
- test - test
- build - build
...@@ -45,7 +50,8 @@ test: ...@@ -45,7 +50,8 @@ test:
build: build:
stage: build stage: build
script: echo "Building the app" script:
- gitbook build . public
deploy_staging: deploy_staging:
stage: deploy stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment