Skip to content
Snippets Groups Projects
Verified Commit c8363492 authored by Martin Weise's avatar Martin Weise
Browse files

Updated docs pipeline

parent 0bff876b
No related branches found
No related tags found
3 merge requests!237Resolve "Proxy settings",!232Draft: Master,!231CI: Remove build for log-service
...@@ -595,11 +595,11 @@ docs-latest: ...@@ -595,11 +595,11 @@ docs-latest:
- apt-get update && apt-get install -y git make sed - apt-get update && apt-get install -y git make sed
- git fetch && git checkout master - git fetch && git checkout master
- pip install -r ./requirements.txt - pip install -r ./requirements.txt
- find .docs -type f -exec sed -i -e "s/\$TAG/latest/g" {} \; - mkdir -p ./final
- find .docs -type f -exec sed -i -e "s/\$VERSION/latest/g" {} \; - find ./.docs -type f -exec sed -i -e "s/\$TAG/latest/g" {} \;
- find ./.docs -type f -exec sed -i -e "s/\$VERSION/${VERSION}/g" {} \;
- mkdocs build && cp -r ./site ./final/latest - mkdocs build && cp -r ./site ./final/latest
- mkdir -p ./final/1.3 - cp ./.docs/redirect.html ./final/index.html
- cp ./.docs/redirect.html ./final/1.3/index.html
- cp -r ./swagger/latest ./final/latest/swagger - cp -r ./swagger/latest ./final/latest/swagger
cache: cache:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment