Compare commits

...
2 Commits
Author SHA1 Message Date
Jacky 398404e45b Merge pull request 'v6' (#6) from jacky-patch-2 into main
Reviewed-on: http://117.72.28.96:8765/Jacky/Hulumath-Web-Demo/pulls/6
2026-08-08 17:28:29 +08:00
Jacky 5233a0f10a v6
PR合并自动部署 / deploy (pull_request) Failing after 2s
2026-08-08 17:28:24 +08:00
+2 -1
View File
@@ -21,7 +21,8 @@ jobs:
ssh -i ~/.ssh/deploy_key ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} <<-'EOF' ssh -i ~/.ssh/deploy_key ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} <<-'EOF'
set -e set -e
cd $DEPLOY_PATH cd $DEPLOY_PATH
git config --global --add safe.directory $DEPLOY_PATH # 移除--add,兼容老git版本
git config --global safe.directory "$DEPLOY_PATH"
git fetch origin main git fetch origin main
# 备份运行时db # 备份运行时db