/example-heroku

An example GitHub Action using Heroku

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

Heroku GitHub Action Example

An example workflow, using the GitHub Action for Heroku to deploy a static website, octozen.herokuapp.com.

Workflow

The example workflow will trigger on every push to this repo.

For pushes to a feature branch, the workflow will:

  1. Log in to Heroku Container Registry
  2. Tell Heroku to build, then push the Docker image needed to deploy a staging Heroku app
  3. Tell Heroku to release the pushed Docker image to the staging Heroku app

For pushes to the default branch (master), in addition to the above Actions, the workflow will:

  1. Tell Heroku to release the pushed Docker image to the production Heroku app

License

This repository is licensed under CC0-1.0, which waives all copyright restrictions.