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

Updated docs to version

parent 1d435888
No related branches found
No related tags found
3 merge requests!237Resolve "Proxy settings",!235Master,!233Master
...@@ -644,9 +644,10 @@ docs-latest: ...@@ -644,9 +644,10 @@ docs-latest:
- git fetch && git checkout master - git fetch && git checkout master
- pip install -r ./requirements.txt - pip install -r ./requirements.txt
- mkdir -p ./final - mkdir -p ./final
- 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/__APPVERSION__/latest/g" {} \;
- mkdocs build && cp -r ./site ./final/latest - mkdocs build && cp -r ./site ./final/latest
- cp ./.docs/redirect.html ./final/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