Skip to content

A simple action to build, push and deploy your dockerized app to your Heroku Application

Notifications You must be signed in to change notification settings

pier-digital/heroku-deploy

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

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Deploy - GitHub Action

A simple action to build, push and deploy containers to you Heroku app.

How to use it

name: '' # set whatever name you want to your github job
on: {} # set the events you would like to trigger this job
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Build, Push and Deploy to Heroku # set whatever name you want to this step
        id: heroku
        uses: jctaveras/heroku-deploy@v1.0.0 # use the latest version of the action
        with:
          email: ${{ secrets.HEROKU_EMAIL }} # your heroku email
          api_key: ${{ secrets.HEROKU_API_KEY }} # your heroku api key
          app_name: ${{ secrets.HEROKU_APP_NAME }} # you aplication name
          dockerfile: 'Dockerfile' # set the Dockerfile file name
          dockerfile_path: '' # set the path to the folder where the Dockerfile is located
          options: '' # Docker Build Options
          formation: '' # Docker Dyno Formation. By default is web
Variables Description Required
email Heroku Email Account
api_key Heroku API Key
app_name Heroku App Name
dockerfile_path Path where your Docker File
dockerfile Dockerfile file name
options Docker Build Options
formation Heroku Formation (Default: web)

About

A simple action to build, push and deploy your dockerized app to your Heroku Application

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%