From 474c027d6d594a17eba79d0c2b298b359cd67f7a Mon Sep 17 00:00:00 2001 From: Jali Date: Sun, 21 Sep 2025 02:40:32 +0200 Subject: [PATCH] Add missing pull --- services/git-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/git-monitor b/services/git-monitor index 492d6f0..bd4855c 100755 --- a/services/git-monitor +++ b/services/git-monitor @@ -68,7 +68,7 @@ check_for_updates() { if [ -z "$last_commit_hash" ] || [ "$current_commit_hash" != "$last_commit_hash" ]; then log_message "INFO" "New commits detected. Pulling..." - git -C "$REPO_LOCAL_PATH/$repo_name" checkout $BRANCH_NAME + git -C "$REPO_LOCAL_PATH/$repo_name" pull origin $BRANCH_NAME if [ $? -eq 0 ]; then log_message "INFO" "Pull successful."