将GIT版本控制下的Web项目部署到共享主机 [英] Deploy web project under GIT version control to shared hosting
问题描述
我正在开发一个WordPress主题,它使用Git和在本地开发区域(WAMP)进行版本控制。我推荐使用smartgit作为GUI的bitbucket。我有2个分支,掌握和发展。我想将开发部门部署到分段区域(在我的Live服务器上安装wordpress)。我已经尝试使用 ftploy ,这实现了这一点;然而,似乎不允许我选择要部署哪个分支,并且我想为实际的最终部署预留主分支的部署。我正在使用共享托管,但我有SSH访问。如何最好地将开发部门部署到共享主机。 Git没有安装在服务器上(不可以)
I am developing a wordpress theme which is under version control using Git and in a local development area ( WAMP ). I push commits to bitbucket using smartgit as a GUI. I have 2 branches, master and development. I want to deploy the development branch to a staging area ( a wordpress install on my live server). I have tried using ftploy which does achieve this; however it doesn't seem to allow me to choose which branch to deploy and I want to reserve deployment of the master branch for the actual final deployment. I am using shared hosting but I have SSH access. How can I best achieve deployment of the development branch to the shared hosting. Git is not installed on the server ( and can't be )
推荐答案
有一个粒子,建议8个应用程序进行git自动部署
there is an article that suggest 8 apps for git auto-deploy
Beanstalk - http://beanstalkapp.com/
Beanstalk — http://beanstalkapp.com/
FTPloy - http://ftploy.com/
FTPloy — http://ftploy.com/
部署 - https://www.deployhq.com/
Springloops - http://www.springloops.io/
Springloops — http://www.springloops.io/
Wercker - http://wercker.com/
Wercker — http://wercker.com/
八达通部署[.net] - https://octopusdeploy.com/
Octopus Deploy [.net] — https://octopusdeploy.com/
Capistrano [Ruby] - http ://capistranorb.com/
Capistrano [Ruby] — http://capistranorb.com/
竹+ Phing [P HP] - https://www.atlassian.com/software/bamboo
Bamboo + Phing [PHP]— https://www.atlassian.com/software/bamboo
这篇关于将GIT版本控制下的Web项目部署到共享主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!