A simple action to build, push, and deploy containers to Heroku.
name: '' # set whatever name you want for your github job
on: {} # set the events you would like to trigger this job
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build, Push and Deploy to Heroku
id: heroku
uses: cainwatson/heroku-deploy@v3.0.0
with:
email: ${{ secrets.HEROKU_EMAIL }}
api_key: ${{ secrets.HEROKU_API_KEY }}
app_name: ${{ secrets.HEROKU_APP_NAME }}
dockerfile_path: ''
push_options: ''
Variables | Description | Required |
---|---|---|
Heroku Email Account | ✅ | |
api_key | Heroku API Key | ✅ |
app_name | Heroku App Name | ✅ |
dockerfile_path | Path to Dockerfile. Default: '.' . |
❌ |
push_options | Heroku container:push Options. Default: '' . |
❌ |