5 ms·
Does this have to work only via Github? Any chance it can support any arbitrary Git URI?
by timdorr 12y ago
Does this have to work only via Github? Any chance it can support any arbitrary Git URI?
- deleted 12y ago[deleted]
- friism 12y agoRight now buttons only work with source code hosted on GitHub (although the button can be added anywhere). We want to extend that to other source code hosting services, though. The challenge is that we have to resolve the [app.json][1] file to generate the deploy UI. [1]: https://blog.heroku.com/archives/2014/5/22/introducing_the_app_json_application_manifest https://blog.heroku.com/archives/2014/5/22/introducing_the_a...
- Artemis2 12y agoWhy not do something like the go get tool, that uses git, mercurial and subversion to try to resolve a repo by a URL and to get its contents?
- ryanbrainard 12y agoThe button only works with GitHub repos at this time, but if you can place the button on other sites by using the ?template= parameter to point back to the GitHub repo. If you would like to have an app.json in a non-GitHub repo (or any source in a tarball for that matter), you can use the app-setup API (https://devcenter.heroku.com/articles/platform-api-reference#app-setup https://devcenter.heroku.com/articles/platform-api-reference...) to do the deployment.