hello-algo/deploy.sh
2023-01-12 04:23:17 +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 -