Skip to content

tcarac/github-action-pr-heroku-review-app

 
 

Repository files navigation

Heroku Review Application

Create a Heroku review app when a PR is raised by someone with write or admin access

Usage

name: Heroku Review Application
on:
  pull_request:
    types: [opened, reopened, synchronize, labeled, closed]
  pull_request_target:
    types: [opened, reopened, synchronize, labeled, closed]

jobs:
  heroku-review-application:
    name: Heroku Review Application
    runs-on: ubuntu-latest
    steps:
      - name: Heroku Review Application
        uses: sarodspirit/github-action-pr-heroku-review-app@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_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_API_TOKEN The API key used to communicate with Heroku
HEROKU_PIPELINE_ID The Heroku pipeline to trigger a review app in
REVIEW_APP_LABEL_NAME The label to identify review apps (defaults to review-app)

About

Github Action to deploy heroku review apps

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.4%
  • Dockerfile 14.6%