1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2024-12-29 10:48:21 +01:00
antd-lua-plugin/lib/ann/fann/docs/publish_docs.sh
2018-09-19 15:08:49 +02:00

11 lines
266 B
Bash
Executable File

#!/usr/bin/env bash
SCRIPT_PATH=`dirname $0`
GH_PAGES_PATH=${SCRIPT_PATH}/../../pages/fann/
${SCRIPT_PATH}/generate_docs.sh
cp -a ${SCRIPT_PATH}/html/* ${GH_PAGES_PATH}/docs/
cd ${GH_PAGES_PATH}
git commit -a -m "Automated update of docs"
git push origin gh-pages