feat: add commit hash in joj3-forge-convert
All checks were successful
push / build (push) Successful in 2m37s
All checks were successful
push / build (push) Successful in 2m37s
This commit is contained in:
parent
8154a1307e
commit
613e7fc1a7
|
@ -57,7 +57,8 @@ 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
|
||||
git -C "$config_repo_path" commit -m "chore: joj3-forge convert [skip ci]"
|
||||
commit_hash=$(git 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
|
||||
if [ -n "${TEAPOT_GITEA_TOKEN:-}" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user