pedroborges / kirby-autogit

⬢ Saves every change made via Kirby Panel to a Git repository
149 stars 23 forks source link

When page was deleted, no triggers was processed #8

Closed astappiev closed 7 years ago

astappiev commented 8 years ago

So, I deleted page,and the action was skipped by AutoGit.

Also, another small question. Is is OK that changes only committed but not pushed? Can we configure it?

pedroborges commented 7 years ago

It's a bug in Kirby v2.4.0 that's been fixed in v2.4.1. Updating should fix it.

It's not optimal to push changes on every commit. You would get a slow experience on the panel while waiting for the push to be completed. I prefer to use a cronjob to push often.

# push every hour
0 * * * * cd /var/www/mysite.com && git push origin master > /dev/null 2>&1

This is the guide I reference when needing help with cronjobs.

fitzage commented 6 years ago

I'm having this problem with deleting pages, Kirby 2.5.6