Answer the question
In order to leave comments, you need to log in
How do you deploy your php sites from git repositories?
How is your continuous integration structured?
Are you deploying to a stage server or directly to production?
Are you using github?
Answer the question
In order to leave comments, you need to log in
I have three branches, master (aka production), test and dev. Access to the master and the test has one person who is responsible for the deployment. All others are on the dev branch. When you commit to test, the git hook fires and starts phing. The same is true for the master branch. The only difference is that it deploys to different directories.
Perhaps the solution is not universal, but for my needs it is more than enough.
I use bitbucket.org as a remote repository. there you can create a private repository for a small number of developers, for deployment I picked up the git-ftp utility (https://github.com/resmo/git-ftp). It can be configured for multiple ftp (sftp, ssh) sources, it itself remembers the latest commits and keeps track of deleted and changed files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question