diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcf9c84..feef9ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ stages: - test - build-binary - build-docker +- docs include: - '/.gitlab/ci/always.yml' diff --git a/.gitlab/ci/main-branch.yml b/.gitlab/ci/main-branch.yml index 2e3a527..c4294af 100644 --- a/.gitlab/ci/main-branch.yml +++ b/.gitlab/ci/main-branch.yml @@ -17,4 +17,14 @@ docker-build-prod-latest: --tag $CI_REGISTRY_IMAGE:latest \ . only: + - main + +generate-deploy-docs: + stage: docs + script: + - mkdocs build --strict --verbose + artifacts: + paths: + - docs-public + only: - main \ No newline at end of file