From 972cdbcc71813a626ae5c4d3a46dbabeb9135752 Mon Sep 17 00:00:00 2001 From: Riu Date: Sat, 7 May 2022 16:48:21 +0800 Subject: [PATCH] del deploy.sh::push gh-pages --- deploy.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/deploy.sh b/deploy.sh index e661e8fb..64e5b0c6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,15 +7,3 @@ cp ./assets/CNAME ./book/ cp ./assets/*.html ./book/ cp ./assets/sitemap.xml ./book/ -## init git repo -cd book -git init -git config user.name "sunface" -git config user.email "cto@188.com" -git add . -git commit -m 'deploy' -git branch -M gh-pages -git remote add origin https://github.com/sunface/rust-course - -## push to github pages -git push -u -f origin gh-pages \ No newline at end of file