From dfb7ea89861d06951fcd134e51cc470023251733 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 15 Nov 2024 14:27:27 -0500 Subject: [PATCH] fixed issue where autoyadm wasn't pushing every time --- autoyadm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoyadm.sh b/autoyadm.sh index 3b9a4ae..b51502c 100755 --- a/autoyadm.sh +++ b/autoyadm.sh @@ -59,7 +59,6 @@ if [[ -n $(yadm status --porcelain) ]]; then # Directive to suppress shellcheck warning # shellcheck source=/dev/null source "$sshenv" - yadm push echo "$AYM Push successful!" else echo "$AYE ssh-agent environment not found, aborting push..." @@ -68,3 +67,5 @@ if [[ -n $(yadm status --porcelain) ]]; then else echo "$AYM Nothing to commit." fi + +yadm push