hello-algo/deploy.sh
2022-11-04 19:09:51 +08:00

8 lines
149 B
Bash

mkdocs build
cd site
git init
git add -A
git commit -m 'deploy'
git branch -M main
git push -f git@github.com:krahets/dsa-021.git main:gh-pages
cd -