Skip to content
Snippets Groups Projects
Commit c098939e authored by René Schöne's avatar René Schöne
Browse files

Update pages build.

parent d1406de8
No related branches found
No related tags found
2 merge requests!39Version 1.1.0,!35Version 1.0.0
Pipeline #13204 failed
...@@ -101,7 +101,7 @@ ragdoc_view: ...@@ -101,7 +101,7 @@ ragdoc_view:
paths: paths:
- "pages/docs/ragdoc" - "pages/docs/ragdoc"
pages: .pages-template:
image: python:3.10.0-bullseye image: python:3.10.0-bullseye
stage: publish stage: publish
needs: needs:
...@@ -111,6 +111,15 @@ pages: ...@@ -111,6 +111,15 @@ pages:
- pip install -r pages/requirements.txt - pip install -r pages/requirements.txt
script: script:
- cd pages && mkdocs build - cd pages && mkdocs build
pages-dry-run:
extends: .pages-template
except:
- dev
- master
pages-master:
extends: .pages-template
artifacts: artifacts:
paths: paths:
- public/ - public/
...@@ -118,13 +127,7 @@ pages: ...@@ -118,13 +127,7 @@ pages:
- master - master
pages-dev: pages-dev:
image: python:3.10.0-bullseye extends: .pages-template
stage: publish
needs:
- ragdoc_view
- test
before_script:
- pip install -r pages/requirements.txt
script: script:
- cd pages && mkdocs build - cd pages && mkdocs build
- echo "UPSTREAM_JOB_ID=$CI_JOB_ID" >> build.env - echo "UPSTREAM_JOB_ID=$CI_JOB_ID" >> build.env
......
import os import os
ragconnectVersionFileName = '../ragconnect.base/src/main/resources/ragConnectVersion.properties' ragconnectVersionFileName = '../ragconnect.base/src/main/resources/ragconnectVersion.properties'
def get_version(): def get_version():
......
...@@ -2,3 +2,4 @@ mkdocs==1.2.2 ...@@ -2,3 +2,4 @@ mkdocs==1.2.2
mkdocs-git-revision-date-localized-plugin==0.10.3 mkdocs-git-revision-date-localized-plugin==0.10.3
mkdocs-macros-plugin==0.6.3 mkdocs-macros-plugin==0.6.3
mike==1.1.2 mike==1.1.2
Jinja2==2.11.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment