feat: Disable HTML section numbering and remove PDF document class. #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Quarto Book | |
| on: | |
| push: | |
| branches: | |
| - quarto-book | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@v0.8.1 | |
| with: | |
| run-install: false | |
| - name: Update lockfiles | |
| run: | | |
| set -o pipefail | |
| pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md | |
| - name: Set up Quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| - name: Render Quarto book | |
| run: | | |
| pixi run quarto render mybook | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./mybook/_book | |
| publish_branch: gh-pages |