Deploys your branch to a new or existing Heroku application.
Use the action in your workflow with your API key:
name: workflow-name
on:
pull_request:
types: [opened, synchronize]
jobs:
job_name:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bklg-actions/heroku-deploy@v1
id: deploy
with:
application_name: target-application
- name: echo deploy variables
run: echo application_url=$APPLICATION_URL
env:
APPLICATION_URL: ${{steps.deploy.outputs.application_url}}Note: Requires that the Heroku CLI can be run already authenticated.
See action.yml for a full list of inputs and outputs.
Issue reports and pull requests are welcome on GitHub at https://github.com/bklg-actions/heroku-deploy.
This work is available as open source under the terms of the MIT License.