lizhen_gitee 1 month ago
parent
commit
cb789473ba
2 changed files with 4 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 4 0
      gitpullonline.sh

+ 0 - 1
.gitignore

@@ -13,4 +13,3 @@ node_modules
 /application/database.php
 /application/extra/site.php
 /application/extra/keyworld.php
-/gitpullonline.sh

+ 4 - 0
gitpullonline.sh

@@ -0,0 +1,4 @@
+sudo -uroot git reset --hard;
+sudo -uroot git pull;
+sudo -uroot chown -R www:www /www/wwwroot/shuijiao;
+sudo -uroot chmod -R 775 *;