Skip to content

Commit

Permalink
Update draft-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qurit-frizi authored Oct 2, 2024
1 parent c25671e commit 19f121e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Draft PDF
on:
push:
paths:
- paper/**
- Paper/** # Update to track changes in the correct directory
- .github/workflows/draft-pdf.yml

jobs:
Expand All @@ -12,18 +12,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: List directory contents
run: ls -R
run: ls -R # Lists the directory contents for debugging

- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
paper-path: paper/paper.md # Update this to match the location of your paper.md file
paper-path: Paper/paper.md # Specify the correct path to paper.md

- name: Upload
uses: actions/upload-artifact@v4
with:
name: paper
path: paper/paper.pdf # Ensure this matches the output path of your generated PDF
path: Paper/paper.pdf # Ensure the output path matches where the PDF is generated

0 comments on commit 19f121e

Please sign in to comment.