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
d8ada446
Commit
d8ada446
authored
Mar 17, 2020
by
zhouzihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新.gitlab-ci.yml
parent
787d6dcf
Pipeline
#86
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
.gitlab-ci.yml
.gitlab-ci.yml
+10
-0
No files found.
.gitlab-ci.yml
View file @
d8ada446
...
@@ -34,6 +34,10 @@
...
@@ -34,6 +34,10 @@
image
:
node:10-alpine
image
:
node:10-alpine
cache
:
paths
:
-
node_modules/
before_script
:
before_script
:
-
npm install gitbook-cli -g
-
npm install gitbook-cli -g
-
gitbook fetch 3.2.3
-
gitbook fetch 3.2.3
...
@@ -52,11 +56,17 @@ build:
...
@@ -52,11 +56,17 @@ build:
stage
:
build
stage
:
build
script
:
script
:
-
gitbook build . public
-
gitbook build . public
artifacts
:
paths
:
-
public
expire_in
:
1 week
deploy_staging
:
deploy_staging
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
echo "Deploy to staging server"
-
echo "Deploy to staging server"
-
rcync
environment
:
environment
:
name
:
staging
name
:
staging
url
:
https://staging.example.com
url
:
https://staging.example.com
...
...
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