Skip to content

Commit

Permalink
Setup node + single line run
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 9, 2020
1 parent 6ff3310 commit c721fbc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
- uses: actions/checkout@v2
- name: Change absolute paths to relative
run: perl -pi -e 's@\]\(\/@\]\(@' _sidebar.md
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install converter
run: npm install docsify-pdf-converter @iomeg/zenodo-upload
- name: Generate PDF
run: npx docsify-pdf-converter
- name: Upload PDF to Zenodo
run: >
npx --package @iomeg/zenodo-upload zenodo_upload
--sandbox
351033 guide-nlesc.pdf
${{ github.ref }} ${{ secrets.ZENODO_TOKEN}}
run: npx --package @iomeg/zenodo-upload zenodo_upload --sandbox 351033 guide-nlesc.pdf ${{ github.ref }} ${{ secrets.ZENODO_TOKEN }}

0 comments on commit c721fbc

Please sign in to comment.