Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
documentation
Merge requests
!1
Add .gitlab-ci.yml file.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add .gitlab-ci.yml file.
Feature-Add-Gitlab-CI
into
master
Overview
2
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Adam Měrka
requested to merge
Feature-Add-Gitlab-CI
into
master
6 years ago
Overview
2
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Added gitlab.ci file to allow pages
0
0
Merge request reports
Compare
master
version 1
22384aff
6 years ago
master (base)
and
latest version
latest version
37bd90ee
2 commits,
6 years ago
version 1
22384aff
1 commit,
6 years ago
1 file
+
24
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
24
−
0
Options
# 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
# 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
Loading