From d548679c64eb50b08db4acee82a3a8709cc3ee36 Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 27 Jan 2022 16:50:14 +0100 Subject: [PATCH] Added CI Deploy --- .gitlab-ci.yml | 1 + .gitlab/ci/main-branch.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) 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