Hyperbook Dokumenation

Deploy on GitLab Pages

Denke daran den basePath in deiner Konfiguration zu setzen, when du dein Hyperbook auf GitLab bereitstellst.

image: node:latest
 
pages:
  stage: deploy
  script:
    - npx hyperbook build
    - mkdir .public
    - cp -r ./.hyperbook/out/* .public
    - rm -rf public
    - mv .public public
  artifacts:
    paths:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

Beispiel-Repository: https://gitlab.com/mikebarkmin/hyperbook-gitlab-pages

GitLab Pages
✎ GitHub© Copyright 2024 by OpenPatch