fixed issue where autoyadm wasn't pushing every time

This commit is contained in:
Daniel Fichtinger 2024-11-15 14:27:27 -05:00
parent 53a0abfaa2
commit dfb7ea8986

View file

@ -59,7 +59,6 @@ if [[ -n $(yadm status --porcelain) ]]; then
# Directive to suppress shellcheck warning # Directive to suppress shellcheck warning
# shellcheck source=/dev/null # shellcheck source=/dev/null
source "$sshenv" source "$sshenv"
yadm push
echo "$AYM Push successful!" echo "$AYM Push successful!"
else else
echo "$AYE ssh-agent environment not found, aborting push..." echo "$AYE ssh-agent environment not found, aborting push..."
@ -68,3 +67,5 @@ if [[ -n $(yadm status --porcelain) ]]; then
else else
echo "$AYM Nothing to commit." echo "$AYM Nothing to commit."
fi fi
yadm push