killua 5 years ago
parent
commit
9d0c64226f
1 changed files with 5 additions and 2 deletions
  1. 5 2
      blog.sh

+ 5 - 2
blog.sh

@@ -28,8 +28,11 @@ is_exist(){
    	 cd $BLOG_PATH
    	 git pull
    	 sleep 5
-	 nohup hexo server >hexo-blog.log 2>&1 & 	 
-   fi
+	 hexo clean
+	 sleep 1
+#	 nohup hexo server >hexo-blog.log 2>&1 & 	 
+	 hexo g 
+  fi
  }
 
 #停止方法