Skip to content

mheap/github-action-heroku-logs

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Build Logs

Attach Heroku build logs on deployment failure

Usage

name: Heroku Build Logs
on: deployment_status

jobs:
  heroku-build-logs:
    name: Heroku Build Logs
    runs-on: ubuntu-latest
    steps:
      - name: Heroku Build Logs
        uses: mheap/github-action-heroku-logs@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          HEROKU_AUTH_TOKEN: ${{ secrets.HEROKU_AUTH_TOKEN }}

Available Configuration

Environment Variables

Name Description
GITHUB_TOKEN The GitHub auth token, used to authenticate API requests. Use the value provided in ${{ secrets.GITHUB_TOKEN }}
HEROKU_AUTH_TOKEN Your Heroku API key. Used to fetch build logs