Skip to content

Trigger PDF generation #17

Trigger PDF generation

Trigger PDF generation #17

Workflow file for this run

name: Trigger PDF generation
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Generate PDF
run: |
npm ci
npm run pdf
git config user.name ${GITHUB_ACTOR}
git config user.email [email protected]
git add docs/*/*.pdf
git diff-index --quiet HEAD docs/*/*.pdf || git commit -m "PDF generation"
git push