Skip to content
Snippets Groups Projects

Expansion panel article

Merged Remi PLANEL requested to merge expansion-panel-article into dev
1 file
+ 18
3
Compare changes
  • Side-by-side
  • Inline
+ 18
3
# 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: