We have PHP project on our bitbucket repo. Whenever any of our team member commits his participation we manually pull it from our staging server which is an AWS instance to see the effects of what every one has done.
We've decided to use any Continuous Integration tool to automatically deploy the commits instead of we manually pull commits in staging server from our bitbucket repo. So we've look for some CI tools and have chosen PHPCI(PHP Continuous Integration) as it is easy to install as compared to some others like Jenkins.
Now, I've installed PHPCI on my AWS instance and set a virtual host for the PHPCI. Almost every thing is ok (But I don't know how to write 'phpci.yml' for my project).
Now I want that whenever I or any of my team member commit into our bitbucket project repo It must get deployed automatically on our staging server.
I don't know how to do so, I've searched and spend much of my time but nothing found helpful.
There is one more thing that to include PHPCI support in my project, it is written in PHPCI documentation, I need to setup a 'phpci.yml' file.
Another related question is what should be in this 'phpci.yml' to automatically deploy the commits on my staging server.