An example workflow, using the GitHub Action for Heroku to deploy a static website, octozen.herokuapp.com.
The example workflow will trigger on every push to this repo.
For pushes to a feature branch, the workflow will:
- Log in to Heroku Container Registry
- Tell Heroku to build, then push the Docker image needed to deploy a staging Heroku app
- 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:
- Tell Heroku to release the pushed Docker image to the production Heroku app
This repository is licensed under CC0-1.0, which waives all copyright restrictions.