From b39e54264fc3c7525cfe9e6d4bae056c5869ad63 Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 27 Jan 2022 17:34:37 +0100 Subject: [PATCH] Changed public-docs to public to make ci deploy success --- .gitlab-ci.yml | 4 ++-- .gitlab/ci/main-branch.yml | 6 +++--- mkdocs.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index feef9ec..e8c6b7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,10 @@ stages: - test - build-binary - build-docker -- docs +- deploy include: - '/.gitlab/ci/always.yml' - '/.gitlab/ci/main-branch.yml' - '/.gitlab/ci/merge-request.yml' - - '/.gitlab/ci/tagged-build.yml' \ No newline at end of file + - '/.gitlab/ci/tagged-build.yml' diff --git a/.gitlab/ci/main-branch.yml b/.gitlab/ci/main-branch.yml index 4c14eca..6325733 100644 --- a/.gitlab/ci/main-branch.yml +++ b/.gitlab/ci/main-branch.yml @@ -20,13 +20,13 @@ docker-build-prod-latest: - main generate-deploy-docs: - stage: docs + stage: deploy image: python:alpine script: - pip install --no-cache-dir -r mkdocs-req.txt - python -m mkdocs build --strict --verbose artifacts: paths: - - docs-public + - public only: - - main \ No newline at end of file + - main diff --git a/mkdocs.yml b/mkdocs.yml index 1c09a75..c9daf2b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,11 +1,11 @@ site_name: goshorly docs site_url: https://phil.mekelek.de/goshorly repo_url: https://git.ucode.space/Phil/goshorly -site_dir: docs-public +site_dir: public theme: name: material locale: en highlightjs: true nav: - - Home: 'index.md' \ No newline at end of file + - Home: 'index.md'