The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying to my server automatically via BitBucket

yoyilmaz
March 24, 2019

I've been using Beanstalk. They have a great feature where I can set up my custom server (staging / prod etc) profiles and then it will invoke a "git pull" command on my servers. This can be set to auto (when I push code into repo) or manually invoked.

Using SSH Key for authentication, it basically runs a CLI command, such as:

cd ~/web/mystagingserver.com;git pull origin development

I'm a little confused with how to do this with BitBucket. I've been fiddling with Pipelines, but not getting far. I use Rackspace Cloud Servers. I don't see a pipe available for it.

I can fall back on the SFTP pipe, however prefer to use git pull, obviously.

I don't need Code Integration or unit testing at this stage. My overall intention is to avoid SSH into my server for manual git pulls all the time, and automate this process by attaching it to a git push from my dev computer.

Thanks.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events