Skip to content

Refactor exl patching #9

Refactor exl patching

Refactor exl patching #9

Workflow file for this run

name: Book
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-book:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: cargo-bins/cargo-binstall@main
- run: cargo-binstall --no-confirm mdbook mdbook-admonish
- run: task docs:build
- uses: actions/upload-pages-artifact@v3
with:
path: docs/book
retention-days: 3
deploy-book:
name: Deploy
needs:
- build-book
if: github.event_name != 'pull_request'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4