Git从Bitbucket或Cloud9推送到DigitalOcean [英] Git push to DigitalOcean from Bitbucket or Cloud9
问题描述
我在 Cloud9
IDE上创建网站,我找不到方法将我的产品代码轻松推送到 DigitalOcean
droplet
服务器。也许有一些简单的方法可以轻松地将代码从 Cloud9
推送到 Heroku
。使用 Cloud9
控制台中的简单命令。
我的所有 git
code住在Bitbucket中,所以也许你有想法如何将它连接到 DigitalOcean
?
希望能听到你做这些生产推动。你可能有这些东西的知名技术。
帮助!
拉而不是推。只要做一个
git克隆
或
git pull
在液滴上。
更难的方法是建立持续集成(CI)环境,例如Jenkins或CruiseControl。您不太可能在托管的git环境(如GitHub或BitBucket)中找到此功能。
一些阅读:
http://cruisecontrol.sourceforge.net/
I'm making site on Cloud9
IDE and I can't find the way to easy push my production code to DigitalOcean
droplet
server. Maybe there is some simple way I could do it as easy as it is to push code to Heroku
from Cloud9
. With simple command from Cloud9
console.
All my git
code lives in Bitbucket so maybe you have ideas how to connect it to DigitalOcean
?
Hope to hear how you do these production "pushes". You probably have well known techniques for these things.
Help!
Your first, easy, option is to pull instead of push. Just do a
git clone
or a
git pull
On the droplet.
The harder way is to do a continuous integration (CI) environment such as Jenkins or CruiseControl. You are unlikely to find this functionality in a hosted git environment such as GitHub or BitBucket.
Some reading:
http://cruisecontrol.sourceforge.net/
这篇关于Git从Bitbucket或Cloud9推送到DigitalOcean的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!