FIXED deploy.sh *3

This commit is contained in:
starcells committed 2026-03-22 23:51:42 +08:00
1 parent 587018f74f
commit f5477b4ea1
1 file changed
+2 -1
+2 -1
View File
@@ -4,7 +4,8 @@ BLOGDIR=/var/www/myblog
cd $BLOGDIR
find * | grep -v deploy.sh | xargs rm -rf
#find * | grep -v deploy.sh | xargs rm -rf
/usr/bin/git clean -fdx
/usr/bin/git fetch --all
/usr/bin/git reset --hard origin/master