It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i push to Amazon Elastic Beanstalk from SourceTree?

How do i push to Amazon Elastic Beanstalk from SourceTree?

4 answers

1 accepted

2 votes
Answer accepted

Ok, solved it with a Custom Action. Thanks for your help!

In case anyone wants to do the same thing, what I created was a Custom Action, which runs the script: /usr/bin/git with parameters aws.push.

I'm sorry, I should have been more descriptive of what I wanted to do.

When you are using Amazon Elastic Beanstalk, and you want to deploy a new version of your code to a server, you "push" it with git using a special command:

git aws.push

This is quite similar to Heroku, and what I intended was to find a way to either: see the remote repository inside the beanstalk from sourcetree, or to just be able to run that command (or its equivalent) within sourcetree and have it deploy my code.

I've seen something similar to this achieved with heroku: https://devcenter.heroku.com/articles/multiple-environments

Is there any way to do this with beanstalk?

Thanks for your time

I don't think SourceTree supports either of these directly, since they require extensions to git (aws.push isn't a built-in git command). However, you should be able to get what you want pretty easily with custom actions.

In Windows, these can be set up in Tools > Options. For Mac, the tab is in Preferences.

In SourceTree, "push" has a very specific meaning regarding an operation with the Git or Mercurial versioning systems. Amazon Elastic Beanstalk does not appear to be a versioning system, so I'm not sure what you are trying to do.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,545 views 13 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you