Skip to content

Automate PDF generation #5

Automate PDF generation

Automate PDF generation #5

Workflow file for this run

on: [push]
jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
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