GitLab pages

To deploy your website using GitLab pages, create project for your docs website based on this template and follow official guide to configure GitLab CLI.

You need to store static files in artifacts of your GitLab project and then configure pages to host static files from artifacts.

Visit official guide to find more details about GitLab CI configuration.

GitLab CLI configuration example:

image: node:16
stages:
  - build
build-docs:
  stage: build
  script:
    - npm ci
    - npx nuxt generate
  artifacts:
    paths:
      - dist/*

You probably need to configure prefix for your website, visit customization page for details.