diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9d2744521a29e84b1ead7dcddab15898bceaa6c..49efd2ec025301c94473d472005a2684f5f2c7e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -647,6 +647,7 @@ docs-latest: - sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" .docs/redirect.html - cp ./.docs/redirect.html ./final/index.html - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \; + - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \; - mkdocs build && cp -r ./site ./final/latest - cp -r ./swagger/latest ./final/latest/swagger cache: @@ -705,6 +706,7 @@ docs-1.4: - wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q - mkdir -p ./final - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \; + - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \; - mkdocs build && cp -r ./site ./final/${APP_VERSION} - cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger cache: