hello-algo/deploy.sh
2022-12-15 01:12:03 +08:00

8 lines
157 B
Bash

rm -rf ./site
mkdocs build --clean
cd site
git init
git add -A
git commit -m 'deploy'
git push -f git@github.com:krahets/hello-algo.git master:gh-pages
cd -