I am trying to figure out a good development workflow for OctoberCMS, which is a file-based CMS written in Laravel.
I have it set up to deploy via:
git push live master
However, with OctoberCMS, I need to sync "live" changes back with my local development box (because every time the content gets edited via the CMS, it changes a file). Currently I have no way to "git pull" from the live server.
My post-receive file looks like this:
!/bin/sh
git --work-tree=/var/www/mysite.com --git-dir=/var/repo/mysite.git checkout -f
My current setup was based on this Digital Ocean article.
Is there a simple way to modify it so I can sync changes back from the live server?