Skip to content

Commit d11430b

Browse files
committed
Add README
1 parent 6d7e484 commit d11430b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Heroku Build Logs
2+
3+
Attach Heroku build logs on deployment failure
4+
5+
## Usage
6+
7+
```yaml
8+
name: Heroku Build Logs
9+
on: deployment_status
10+
11+
jobs:
12+
heroku-build-logs:
13+
name: Heroku Build Logs
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Heroku Build Logs
17+
uses: mheap/github-action-heroku-logs@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
HEROKU_AUTH_TOKEN: ${{ secrets.HEROKU_AUTH_TOKEN }}
21+
```
22+
23+
## Available Configuration
24+
25+
### Environment Variables
26+
27+
| Name | Description |
28+
| ----------------- | ----------------------------------------------------------------------------------------------------------------- |
29+
| GITHUB_TOKEN | The GitHub auth token, used to authenticate API requests. Use the value provided in `${{ secrets.GITHUB_TOKEN }}` |
30+
| HEROKU_AUTH_TOKEN | Your Heroku API key. Used to fetch build logs |

0 commit comments

Comments
 (0)