Auto commit: 2024-11-08 20:30:02

This commit is contained in:
Daniel Fichtinger 2024-11-08 20:30:02 -05:00
parent a86a6968bf
commit 41f27cb66d
2 changed files with 7 additions and 0 deletions

View file

@ -19,5 +19,10 @@ done
# Commit and push if there are changes
if [[ -n $(yadm status --porcelain) ]]; then
yadm commit -m "Auto commit: $(date +'%Y-%m-%d %H:%M:%S')"
if [ -f ~/.ssh/agent_env ]; then
source "$HOME/.ssh/environment-dpad"
else
echo "hi"
fi
yadm push
fi