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

Fixed it

parent 9d13fa01
No related branches found
No related tags found
1 merge request!274Hotfix foreign key
...@@ -35,8 +35,7 @@ function generate_docs { ...@@ -35,8 +35,7 @@ function generate_docs {
fi fi
find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/$1/g" {} \; find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/$1/g" {} \;
find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/$1/g" {} \; find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/$1/g" {} \;
mike set-default $APP_VERSION mkdocs build > /dev/null && cp -r ./site "./final/$1"
mike deploy $1 && cp -r ./site "./final/$1"
cp -r "./swagger/$1" "./final/$1/swagger" cp -r "./swagger/$1" "./final/$1/swagger"
echo $VERSIONS_JSON > "./final/$1/versions.json" echo $VERSIONS_JSON > "./final/$1/versions.json"
clean_cache clean_cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment