Skip to content

24 ways to impress your friends

Vote down?

Adrian Kirsten

When it comes to deployment, I have found a lot of success using Github’s (Bitbucket, gitlabs, etc) POST Hooks. Just throw in a single line php file, and deployments happen automatically.

The only real setup is getting the server’s www-data user authenticated to your git host.

I then use branches for differen’t deploys. Staging branch deploys to staging server, master deploys to production.