Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events