Skip to content

Commit 38a4968

Browse files
joss paper yml seprated
1 parent 0e6f9fc commit 38a4968

2 files changed

Lines changed: 24 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,4 @@ jobs:
9393
token: ${{ secrets.CODECOV_TOKEN }}
9494
files: ./coverage.xml
9595
fail_ci_if_error: true
96-
97-
# ------------------------------------------------------------------------
98-
# PHASE 5: BUILD JOSS PAPER DRAFT
99-
# ------------------------------------------------------------------------
100-
- name: Build JOSS Paper Draft PDF
101-
uses: openjournals/openjournals-draft-action@master
102-
with:
103-
journal: joss
104-
paper-path: paper/paper.md
105-
106-
- name: Upload JOSS Paper Artifact
107-
uses: actions/upload-artifact@v4
108-
with:
109-
name: paper
110-
path: paper/paper.pdf
96+

.github/workflows/joss-paper.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on: [push]
2+
3+
jobs:
4+
paper:
5+
runs-on: ubuntu-latest
6+
name: Paper Draft
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Build draft PDF
11+
uses: openjournals/openjournals-draft-action@master
12+
with:
13+
journal: joss
14+
# This should be the path to the paper within your repo.
15+
paper-path: paper/paper.md
16+
- name: Upload
17+
uses: actions/upload-artifact@v4
18+
with:
19+
name: paper
20+
# This is the output path where Pandoc will write the compiled
21+
# PDF. Note, this should be the same directory as the input
22+
# paper.md
23+
path: paper/paper.pdf

0 commit comments

Comments
 (0)