Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhouzihaoDoc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouzihao
zhouzihaoDoc
Commits
afbd0e55
Commit
afbd0e55
authored
Mar 17, 2020
by
zhouzihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
92b5e7b7
Pipeline
#78
canceled with stages
in 2 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
.gitlab-ci.yaml
.gitlab-ci.yaml
+33
-0
No files found.
.gitlab-ci.yaml
0 → 100644
View file @
afbd0e55
# requiring the environment of NodeJS 10
image
:
node:10
# add 'node_modules' to cache for speeding up builds
cache
:
paths
:
-
node_modules/
# Node modules and dependencies
before_script
:
-
npm install gitbook-cli -g
# install gitbook
-
gitbook fetch 3.2.3
# fetch final stable version
-
gitbook install
# add any requested plugins in book.json
test
:
stage
:
test
script
:
-
gitbook build . public
# build to public path
only
:
-
branches
# this job will affect every branch except 'master'
except
:
-
master
# the 'pages' job will deploy and build your site to the 'public' path
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment