Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AkhileshNS authored Jan 10, 2020
1 parent 3f8ffca commit 18bfde3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ In order to use the action in your workflow, just add in your _.github/workflows
name: Deploy
on:
push:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: akhileshns/heroku-deploy@master # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "YOUR APP's NAME (must be unique to heroku)"
heroku_email: "YOUR EMAIL"
buildpack: "SOME BUILDPACK [OPTIONAL]"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: akhileshns/heroku-deploy@master # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "YOUR APP's NAME (must be unique to heroku)"
heroku_email: "YOUR EMAIL"
buildpack: "SOME BUILDPACK [OPTIONAL]"
```

You can if you want pass the heroku_app_name, heroku_email and buildpack through github secrets as well if you want, just make sure that atleast your heroku_api_key is passed via GitHub Secrets.
Expand Down

0 comments on commit 18bfde3

Please sign in to comment.