Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Merge requests
!3
Expansion panel article
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Expansion panel article
expansion-panel-article
into
dev
Overview
1
Commits
5
Pipelines
1
Changes
9
Merged
Remi PLANEL
requested to merge
expansion-panel-article
into
dev
1 year ago
Overview
1
Commits
5
Pipelines
1
Changes
1
Expand
expandable card to display abstract
0
0
Merge request reports
Viewing commit
4d27e99b
Prev
Next
Show latest version
1 file
+
18
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
4d27e99b
split in 2 stages
· 4d27e99b
Remi PLANEL
authored
1 year ago
.gitlab-ci.yml
+
18
−
3
Options
# The Docker image that will be used to build your app
image
:
node:19.5-bullseye-slim
# Functions that should be executed before the build script is run
before_script
:
-
npm ci
cache
:
paths
:
-
node_modules/
stages
:
-
build
-
deploy
build
:
stage
:
build
before_script
:
-
npm ci
script
:
-
NUXT_APP_BASE_URL=/wiki/ npm run generate
artifacts
:
paths
:
-
.output/public
untracked
:
false
when
:
on_success
expire_in
:
"
30
days"
pages
:
stage
:
deploy
only
:
-
main
script
:
-
NUXT_APP_BASE_URL=/wiki/ npm run generate
-
rm -rf public
-
mv .output/public public
artifacts
: