We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156f303 commit c250325Copy full SHA for c250325
source/rebuild.sh
@@ -1,7 +1,18 @@
1
cd /var/www/html
2
-rm -rf chenhaotian.top
3
-git clone https://mirror.ghproxy.com/https://github.com/chen2438/chenhaotian.top.git
4
-cd chenhaotian.top
5
-npm install
6
-hexo clean
+rm -rf blog-repo
+
+# git clone https://mirror.ghproxy.com/https://github.com/chen2438/chenhaotian.top.git blog-repo
+git clone https://mirror.vayki.com/proxy/https://github.com/chen2438/chenhaotian.top.git blog-repo
7
+cd blog-repo
8
9
+# npm cache clean --force
10
+# rm -rf node_modules/
11
+npm install --registry=https://registry.npmmirror.com/
12
13
+# hexo clean
14
hexo generate
15
16
+rm -rf ../chenhaotian.top/
17
+mkdir -p ../chenhaotian.top/piblic/
18
+cp -r public/ ../chenhaotian.top/public/
0 commit comments