PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How to Continuously Deploy: VisualStudio.com's tfs Git -> Heroku

 September 28, 2022     continuous-deployment, git, heroku, tfs     No comments   

Issue

I've got private code in a VisualStudio.com's tfs Git repository.

I'd like to continuously deploy it to Heroku, as code is returned.

What is the simplest/easiest way to do this?

e.g. Does VisualStudio.com support pushing to the Heroku git repository?

Does Heroku support monitoring of any other git repo besides GitHub?

Any other creative solutions? I've got multiple people pushing to the VisualStudio repo, so I'd like to avoid everyone having to configure two push points... if that is possible.


Solution

There is Heroky Release Tools Extension in Visual Studio Team Services Marketplace that you could use to deploy to Heroku app. (install it into your VSTS)

  1. Create an Heroku App or use an existent one;
  2. Retrieve the API Key from an valid App Contributor User;
  3. Configure a build definition that generates the final files that should be pushed to Heroku (we recommend you to put all your file structure under a "drop" named folder;
  4. Configure a release definition with the Push to Heroku task in it.

Install:

enter image description here

enter image description here

enter image description here



Answered By - starian chen-MSFT
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing