fix: git -C
All checks were successful
push / build (push) Successful in 2m26s

This commit is contained in:
张泊明518370910136 2025-07-26 01:36:39 -07:00
parent 613e7fc1a7
commit c8f1283f58
GPG Key ID: CA088E6D9284F870

View File

@ -57,7 +57,7 @@ EOF
rsync -a --delete "/home/tt/.config/joj/" "$config_repo_path/home/tt/.config/joj"
git -C "$config_repo_path" add home/tt/.config/joj
if ! git -C "$config_repo_path" diff --staged --quiet; then
commit_hash=$(git rev-parse HEAD)
commit_hash=$(git -C "$config_repo_path" rev-parse HEAD)
git -C "$config_repo_path" commit -m "chore: $commit_hash trigger joj3-forge convert [skip ci]"
git -C "$config_repo_path" push
fi