fixed issue where autoyadm wasn't pushing every time
This commit is contained in:
parent
53a0abfaa2
commit
dfb7ea8986
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue