Skip to content

Commit

Permalink
Improve github action build-pdf
Browse files Browse the repository at this point in the history
- Set better git user.name & user.email fields
- Set better git commit message
- Add paths-ignore push filter
  • Loading branch information
Robin Alexander committed Aug 8, 2023
1 parent cc51eb0 commit 2033c52
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- 'master'
paths-ignore:
- 'README.md'
- 'Makefile'
- 'LICENSE.txt'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -44,10 +48,10 @@ jobs:
# Commit mmbtools.pdf
- name: commit-pdf
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name "Open Digital Radio"
git config user.email github@opendigitalradio.org
git add -f mmbtools.pdf
git commit -m "generated"
git commit -m "generated by github action build-pdf"
working-directory: gh-pages

- name: push-pdf
Expand Down

0 comments on commit 2033c52

Please sign in to comment.