diff options
Diffstat (limited to 'deploy-doc.sh')
-rw-r--r-- | deploy-doc.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/deploy-doc.sh b/deploy-doc.sh new file mode 100644 index 00000000..c485b77a --- /dev/null +++ b/deploy-doc.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env sh +# This is the script to deploy documentation only + +# abort on errors +set -e + +# build +npm run docs:build + +# navigate into the build output directory +cd docs/.vuepress/dist + +git init +git add -A +git commit -m 'deploy' + +# push to gh-pages repo +git push -f git@github.com:openbmc/webui-vue.git master:gh-pages +cd -
\ No newline at end of file |