Clicking on a bitpack and deploying to a hero

I have a game! Bitbucket apps. I have a local repo related to both Bitbucket and Heroku, and everything works fine (whenever I click on heroku master , the application re-builds and I can see the changes on the Internet). Now I just want to click on the bitbucket and deploy to Heroku, i.e. I want to click on Bitbucket and Heroku app to select changes from Bitbucket and rebuild the app. The reason I want to is because Bitbucket now offers online code editing, and I don’t always have Git or Heroku Toolbelt installed on the systems I work on. It will also be good to manage one repo.

I know that Heroku supports its own Git system and from the Heroku settings tab, I can see the following information -

Region: United States Stack: Cedar Framework: Play 2.x - Scala Git URL: git@heroku.com :xyz-abc.git Repo size: 139 MB Slug size: 117 MB of 200 MB 

In addition, I changed the settings of GitHub Repo in Heroku to git@bitbucket.org :user-xyz/xyz-abc.git . I found this and this SO problems and this Heroku documentation related to my requirement, but could not get it to work. Is it possible?

+4
source share
2 answers

You could use Bitbucket Services ; unfortunately, for Gitub no. Perhaps you could try to create one and send Bitbucket .

+1
source

Setting up a Github Repo in Heroku just displays the commit commit in the activity log - there is a note about this only in the text of the Github report

 Link your app to a GitHub repository to see commit diffs in the activity log. 

It does not currently provide any other features.

I am not familiar with Play myself, but with Rails and the addition of Codeship.io (and others as I imagine) you can do continuous deployment when you click on github / bitbucket and then use the webhook to run the code to select check your code check it out and then deploy to Heroku. I am sure there are testing services hosted on Play that can help.

0
source

Source: https://habr.com/ru/post/1482712/


All Articles