Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vue-draggable-grid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
vue-draggable-grid
Commits
f1c723d1
Commit
f1c723d1
authored
3 weeks ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Create gitlab pages config to build docs
parent
30ae9268
No related branches found
No related tags found
1 merge request
!40
Fix Docs build and host to pages
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-9
17 additions, 9 deletions
.gitlab-ci.yml
with
17 additions
and
9 deletions
.gitlab-ci.yml
+
17
−
9
View file @
f1c723d1
image
:
node:latest
stages
:
-
test
lint-test-job
:
stage
:
test
# The Docker image that will be used to build your app
image
:
node:lts
# Functions that should be executed before the build script is run
before_script
:
-
npm ci
-
mkdir public
pages
:
script
:
-
npm install
-
npm run lint
-
npm run docs:build
-
mv docs/.vuepress/dist/* public
artifacts
:
paths
:
# The folder that contains the files to be exposed at the Page URL
-
public
rules
:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
-
if
:
$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment