diff --git a/.github/workflows/paper.yml b/.github/workflows/paper.yml index 9fd8fdde..15b9c60c 100644 --- a/.github/workflows/paper.yml +++ b/.github/workflows/paper.yml @@ -27,14 +27,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - run: mkdir -p dist - - name: Build HTML uses: docker://pandoc/core:2.9 with: args: >- --standalone - --output=dist/index.html + --output=index.html --csl="https://raw.githubusercontent.com/citation-style-language/styles/master/ieee.csl" --template="https://manzt.sh/pandoc.html" paper.md @@ -45,6 +43,11 @@ jobs: journal: joss paper-path: paper.md + - run: | + mkdir -p dist + cp --dereference --no-preserve=mode,ownership paper.pdf dist/paper.pdf + cp --dereference --no-preserve=mode,ownership index.html dist/index.html + - name: Upload artifact uses: actions/upload-artifact@v4 with: