Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorb84 authored Dec 20, 2023
1 parent d83ceba commit c29a2fb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Publish to Heroku' #set whatevername you want to your github job
on:
push:
branches: [main,master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build, Push and Deploy to Heroku #set the whatever name you want to this step
id: heroku
uses: jctaveras/[email protected] # 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_path: '.' # set the path to the folder wher the Dokerfile is located
options: '' # Docker Build Options
formation: 'web' # Docker Dyno Formation. By default is web

0 comments on commit c29a2fb

Please sign in to comment.