Changed public-docs to public to make ci deploy success
This commit is contained in:
parent
b854cceb65
commit
b39e54264f
3 changed files with 7 additions and 7 deletions
|
@ -6,10 +6,10 @@ stages:
|
||||||
- test
|
- test
|
||||||
- build-binary
|
- build-binary
|
||||||
- build-docker
|
- build-docker
|
||||||
- docs
|
- deploy
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- '/.gitlab/ci/always.yml'
|
- '/.gitlab/ci/always.yml'
|
||||||
- '/.gitlab/ci/main-branch.yml'
|
- '/.gitlab/ci/main-branch.yml'
|
||||||
- '/.gitlab/ci/merge-request.yml'
|
- '/.gitlab/ci/merge-request.yml'
|
||||||
- '/.gitlab/ci/tagged-build.yml'
|
- '/.gitlab/ci/tagged-build.yml'
|
||||||
|
|
|
@ -20,13 +20,13 @@ docker-build-prod-latest:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
generate-deploy-docs:
|
generate-deploy-docs:
|
||||||
stage: docs
|
stage: deploy
|
||||||
image: python:alpine
|
image: python:alpine
|
||||||
script:
|
script:
|
||||||
- pip install --no-cache-dir -r mkdocs-req.txt
|
- pip install --no-cache-dir -r mkdocs-req.txt
|
||||||
- python -m mkdocs build --strict --verbose
|
- python -m mkdocs build --strict --verbose
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- docs-public
|
- public
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
site_name: goshorly docs
|
site_name: goshorly docs
|
||||||
site_url: https://phil.mekelek.de/goshorly
|
site_url: https://phil.mekelek.de/goshorly
|
||||||
repo_url: https://git.ucode.space/Phil/goshorly
|
repo_url: https://git.ucode.space/Phil/goshorly
|
||||||
site_dir: docs-public
|
site_dir: public
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
locale: en
|
locale: en
|
||||||
highlightjs: true
|
highlightjs: true
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- Home: 'index.md'
|
- Home: 'index.md'
|
||||||
|
|
Loading…
Reference in a new issue