php - Private Composer repositories in production, what is the best way to go? -
i have few repositories based on composer, use in lot of projects me , team work on.
but, have lot of different production servers, , when need put application in production, need put server public key in private git repositories, in order server able download code.
usually, repositories in github or bitbucket.
is there better way manage this?
i prefer push code out server instead of having fetch it. typically use capistrano (but there many similar tools). means copying latest checkout, process customized build step in necessary things compiled, packaged or otherwise prepared production.
this way need server accessible via ssh, repositories need accessible workstation pushes release.
Comments
Post a Comment