072b73f32391e545cc60e2421a91d19e1639f023
Co-authored-by: Nick Van Wiggeren <nickvanw@github.com> Co-authored-by: Thomas Osowski <osowskit@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com> Co-authored-by: Max Schoening <max@max.wtf> Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Tom Osowski <osowskit@github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com> Co-authored-by: Max Schoening <max@github.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Guðmundur Bjarni Ólafsson <gudmundur@github.com> Co-authored-by: Mike Coutermarsh <mscoutermarsh@github.com>
GitHub Deployer for Heroku
The GitHub Deployer for Heroku task wraps the Heroku CLI to enable common Heroku commands.
Usage
An example workflow to build a docker container from source and push and release the image to an existing application on Heroku:
workflow "Deploy to Heroku" {
on = "push"
resolves = "release"
}
action "login" {
uses = "actions/heroku@master"
args = "container:login"
secrets = ["HEROKU_API_KEY"]
}
action "push" {
uses = "actions/heroku@master"
needs = "login"
args = "container:push -a calm-fortress-1234 web"
secrets = ["HEROKU_API_KEY"]
}
action "release" {
uses = "actions/heroku@master"
needs = "push"
args = "container:release -a calm-fortress-1234 web"
secrets = ["HEROKU_API_KEY"]
}
Secrets
HEROKU_API_KEY- Required. The token to use for authentication with the Heroku API (more info)
Environment variables
HEROKU_APP- Optional. To specify a Heroku application
License
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.
Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.
Description
Languages
Dockerfile
50.4%
Shell
48%
Ruby
1.6%