ucore_os_docs/to_gh.sh

9 lines
136 B
Bash
Executable File

#!/bin/bash
gitbook build .
cp -rf _book/* ~/tmp/ucore_docs
cd ~/tmp/ucore_docs
git add .
git commit -m 'pub'
git push origin gh-pages