Skip to content

Commit

Permalink
Automate PDF generation
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeVassilakis committed Dec 7, 2024
1 parent b19c8fd commit 25498bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ jobs:
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
# Specify the path to the Markdown file for the paper.
paper-path: paper/paper.md

- name: Upload PDF Artifact
uses: actions/upload-artifact@v3
with:
name: paper
path: paper/paper.pdf

- name: Commit and Push PDF
run: |
git config --local user.email "[email protected]"
git config --local user.name "GeorgeVassilakis"
git add paper/paper.pdf
git commit -m "Update PDF" || echo "No changes to commit"
git push
2 changes: 1 addition & 1 deletion paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ authors:
corresponding: false
affiliation: 1
affiliations:
- name: Northeastern University, USA
- name: Department of Physics, Northeastern University, USA
index: 1
date: 7 December 2024
bibliography: paper.bib
Expand Down

0 comments on commit 25498bd

Please sign in to comment.