diff --git a/Justfile b/Justfile index 3048377..addf982 100644 --- a/Justfile +++ b/Justfile @@ -10,7 +10,10 @@ update: rsync -rv --delete $HOME/brain/brain/public/ content/ git add content/ + git diff --stat + if ! git diff --cached --quiet; then \ export TIMESTAMP=$(date -u +"%Y-W%V-%u %H:%M:%S"); \ git commit -m "checkpoint: ${TIMESTAMP}"; \ + git push origin main; \ fi