Auto commit: 2024-11-09 23:12:01

This commit is contained in:
Daniel Fichtinger 2024-11-09 23:12:01 -05:00
parent 8d2e4bf382
commit 309c358259
3 changed files with 8 additions and 4 deletions

View file

@ -21,7 +21,8 @@ if [[ -n $(yadm status --porcelain) ]]; then
yadm commit -m "Auto commit: $(date +'%Y-%m-%d %H:%M:%S')"
# Check if the ssh-agent env is present
if [ -f ~/.ssh/environment-dpad ]; then
source "$HOME/.ssh/environment-dpad"
# source "$HOME/.ssh/environment-dpad"
source "$HOME/.ssh/environment-$(cat /etc/hostname)"
yadm push
else
echo "ERROR: ssh-agent environment not found, aborting push..."

2
.config/yadm/config Normal file
View file

@ -0,0 +1,2 @@
[pull]
rebase = false