# Nova Slides Render — re-renders presentation deck when source files change. name: Nova Slides Render on: push: paths: - 'docs/presentations/**' - 'scripts/render_slides.sh' - 'assets/nova-sp-theme.css' workflow_dispatch: jobs: render: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: { fetch-depth: 0 } - uses: actions/setup-node@v4 with: { node-version: '20' } - name: Install Chrome run: | npx --yes @marp-team/marp-cli@latest --version npx --yes @mermaid-js/mermaid-cli --version - name: Render slides run: bash scripts/render_slides.sh - name: Commit rendered artifacts run: | git config user.name "nova-slides-bot" git config user.email "bot@nova.local" git add docs/presentations/*.html docs/presentations/*.pptx docs/presentations/assets/png/*.png git diff --cached --quiet || git commit -m "chore(slides): re-render deck [skip ci]" git push