@@ -11,7 +11,7 @@ timestamp=$(TZ=UTC-8 date +"%Y-%m-%dT%H:%M:%S")
# 添加错误处理,任何一步失败则停止执行
git add . &&
git commit -m "Update: $timestamp" &&
-git push || {
+GIT_SSH_COMMAND="ssh -i ~/.ssh/gitee" git push || {
echo "Error: Git operation failed" >&2
exit 1
}