Skip to content

Commit

Permalink
update pdf action
Browse files Browse the repository at this point in the history
  • Loading branch information
souzatharsis committed Nov 4, 2024
1 parent 69adc37 commit cc8cf18
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,16 @@ jobs:
# PDF. Note, this should be the same directory as the input
# paper.md
path: paper/paper.pdf
- name: Commit PDF to repository
uses: EndBug/add-and-commit@v9
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
message: '(auto) Paper PDF Draft'
# This should be the path to the paper within your repo.
add: 'paper/paper.pdf' # 'paper/*.pdf' to commit all PDFs in the paper directory
commit-message: '(auto) Paper PDF Draft'
title: 'Auto-generated Paper PDF Draft'
body: |
Automated PDF generation from paper.md
- Updated paper.pdf based on latest changes
branch: auto-pdf-updates
delete-branch: true
base: main
add-paths: |
paper/paper.pdf

0 comments on commit cc8cf18

Please sign in to comment.