Skip to content

bklg-actions/heroku-deploy

Repository files navigation

heroku-deploy

Deploys your branch to a new or existing Heroku application.

Usage

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.

Contributing

Issue reports and pull requests are welcome on GitHub at https://github.com/bklg-actions/heroku-deploy.

License

This work is available as open source under the terms of the MIT License.

About

GitHub Action that allow you to deploy to a new or existing Heroku application.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors