Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorb84 committed Dec 20, 2023
2 parents 7c71d76 + 83f2f1f commit 4d02020
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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: . # set the path to the folder wher the Dokerfile is located

0 comments on commit 4d02020

Please sign in to comment.