diff --git a/.github/workflows/draft-pdf.yml b/.github/workflows/draft-pdf.yml index 797fb16..c1e7168 100644 --- a/.github/workflows/draft-pdf.yml +++ b/.github/workflows/draft-pdf.yml @@ -12,7 +12,6 @@ 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 @@ -20,3 +19,11 @@ jobs: with: name: paper path: paper/paper.pdf + + - name: Commit and Push PDF + run: | + git config --local user.email "90641828+GeorgeVassilakis@users.noreply.github.com" + git config --local user.name "GeorgeVassilakis" + git add paper/paper.pdf + git commit -m "Update PDF" || echo "No changes to commit" + git push \ No newline at end of file diff --git a/paper/paper.md b/paper/paper.md index 747a60c..9f70253 100644 --- a/paper/paper.md +++ b/paper/paper.md @@ -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