Skip to content
Snippets Groups Projects
Commit c623df37 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

try build wiki in ci

parent d9bb28e3
Branches
Tags
No related merge requests found
Pipeline #118930 passed
...@@ -39,6 +39,7 @@ stages: ...@@ -39,6 +39,7 @@ stages:
- update-meilisearch-indexes - update-meilisearch-indexes
- get-meili-key - get-meili-key
- build - build
- build-wiki
- deploy - deploy
...@@ -352,6 +353,29 @@ build:prod:wiki: ...@@ -352,6 +353,29 @@ build:prod:wiki:
- if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH == "main"
build-wiki:
stage: build-wiki
image: node:21.1-bookworm-slim
variables:
NODE_OPTIONS: --max_old_space_size=12288
NUXT_APP_BASE_URL: /wiki/
NUXT_PUBLIC_MEILISEARCH_CLIENT_HOST_URL: ${MEILI_HOST}
NUXT_PUBLIC_MEILISEARCH_CLIENT_SEARCH_API_KEY: ${MEILI_API_KEY}
NUXT_PUBLIC_MEILI_HOST: ${MEILI_HOST}
NUXT_PUBLIC_MEILI_API_KEY: ${MEILI_API_KEY}
before_script:
- npm install
script:
- npm run generate
artifacts:
paths:
- .output/public
################ DEPLOY ########################## ################ DEPLOY ##########################
.deploy: .deploy:
stage: deploy stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment