hello-algo/docs/utils/deploy.sh
2023-02-08 19:45:06 +08:00

14 lines
235 B
Bash

# This script is borrowed from https://gist.github.com/cobyism/4730490
cd build
git add .
git commit -m "build"
git push -u origin docs
cd ..
mkdocs build --clean
cd site
git add .
git commit -m "deploy"
git push -u origin gh-pages