No description
  • Dockerfile 50.4%
  • Shell 48%
  • Ruby 1.6%
Find a file
Nick Van Wiggeren 508e59043d
Merge pull request #5 from ScottBrenner/patch-1
test/bin/heroku - Simulate Heroku
2019-10-07 11:41:16 -07:00
.github Add a CODEOWNERS file to streamline review. 2019-02-09 13:18:52 -05:00
script Initial commit 2018-10-16 07:48:39 -07:00
test test/bin/heroku - Simulate Heroku 2019-08-01 20:53:15 -07:00
.dockerignore Initial commit 2018-10-16 07:48:39 -07:00
Brewfile Initial commit 2018-10-16 07:48:39 -07:00
Dockerfile Use non-slim node 2019-01-31 13:32:02 -05:00
entrypoint.sh Initial commit 2018-10-16 07:48:39 -07:00
LICENSE Initial commit 2018-10-16 07:48:39 -07:00
README.md Simplify description sentence in readme 2018-12-17 15:47:25 -08:00
THIRD_PARTY_NOTICE.md Initial commit 2018-10-16 07:48:39 -07:00

GitHub Deployer for Heroku

This Action 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.