From 209812f5af3a072c0dc2549b9372d9bae6e043c4 Mon Sep 17 00:00:00 2001 From: Victor Miti Date: Tue, 30 Jul 2024 15:05:33 +0100 Subject: [PATCH] refactor: be more specific when commiting changes --- cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.sh b/cron.sh index 5da8a53..d6f36a5 100755 --- a/cron.sh +++ b/cron.sh @@ -53,7 +53,7 @@ inv down || { echo "Failed to stop Docker container."; send_healthcheck_failure; # 5. commit changes today_iso=$(date --iso) -git add . || { echo "Failed to stage changes for commit."; send_healthcheck_failure; exit 1; } +git add app/web/_pages/episodes || { echo "Failed to stage changes for commit."; send_healthcheck_failure; exit 1; } git commit --no-verify -m "chore: ✨ new episode 🎙️ » ${today_iso}" || { echo "Failed to commit changes."; send_healthcheck_failure; exit 1; } # 6. push changes to remote