优课达专有Gitlab
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
hhxyttxs
Gitbook
Commits
816b26a7
Commit
816b26a7
authored
3 years ago
by
焦哥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
8d73952a
Pipeline
#51111
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
816b26a7
# requiring the environment of NodeJS 10
image
:
node:10
image
:
registry.cn-hangzhou.aliyuncs.com/youkeda/gitbook
# add 'node_modules' to cache for speeding up builds
cache
:
...
...
@@ -7,9 +7,9 @@ cache:
-
node_modules/
# Node modules and dependencies
before_script
:
-
npm config set registry https://registry.npm.taobao.org
-
npm install gitbook-cli -g
# install gitbook
-
gitbook fetch 3.2.3
# fetch final stable version
#
- npm config set registry https://registry.npm.taobao.org
#
- 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
:
...
...
This diff is collapsed.
Click to expand it.
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