Auto commit: 2024-11-08 20:30:02
This commit is contained in:
parent
a86a6968bf
commit
41f27cb66d
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue