updated autodoc for committing changing else exit
This commit is contained in:
@@ -12,6 +12,13 @@ mv autodoc-generated-markdown/nym-client-commands.md ../docs/pages/developers/cl
|
||||
mv autodoc-generated-markdown/nym-socks5-client-commands.md ../docs/pages/developers/clients/socks5/commands.mdx &&
|
||||
|
||||
# commit files to git: needed for remote deployment from branch
|
||||
|
||||
if ! git diff --quiet -- "../docs/pages/developers/tools" "../docs/pages/developers/clients/websocket" "../docs/pages/developers/clients/socks5"; then
|
||||
printf "commiting changes"
|
||||
git add ../docs/pages/developers/
|
||||
git commit -m "auto commit generated command files"
|
||||
git push origin HEAD
|
||||
else
|
||||
printf "nothing to commit"
|
||||
fi
|
||||
|
||||
cd ../docs
|
||||
|
||||
Reference in New Issue
Block a user