Jump to content

Post-commit hook / synch from github into pw template folder?


Recommended Posts


I have the idea to manage the PW templates within a github repo and using a kind of post-commit hook to copy/push changes directly into the site/templates-folder on my own server. That way I'd only need to pull/push in github - no need to synch the files manually...

I've read the post-receive hook guide on github. I think it's not that easy because the pw templates folder of course is not accessible via a URL like www.mydomain.com/site/templates ;-)

Does anyone have a glue how I can automatically synch my templates files from github to the pw template folder??


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...