diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae643935d064c8c6180644259d97d629dc5e14d7..e318ac006e8b45491f4db52197f2fa0b6fd79536 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,9 +75,10 @@ pages: - cd docs - npm ci - npm run build + - mv -r public ../ artifacts: paths: - - docs/_book + - public expire_in: 4 days rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH diff --git a/docs/package.json b/docs/package.json index f44911529dbb507a2142f64f845f10df943bafe4..09b9ecaea5e5134eb39f6a30878004eddd6aff5e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -6,7 +6,7 @@ "scripts": { "init": "honkit init", "serve": "honkit serve", - "build": "honkit build" + "build": "honkit build . public" }, "keywords": [], "author": "",