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

Publish with mike

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