docs: Introduce the xDSL book #9
Workflow file for this run
This file contains 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
# This workflow ensures the book can still be built after being modified. | |
# CI checking of Python code inside the book happens separately, in ci-core.yml. | |
name: CI - Book Building | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch, and if the book | |
# has been modified. | |
push: | |
branches: | |
- main | |
paths: | |
- docs/book/** | |
pull_request: | |
paths: | |
- docs/book/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v2.0.0 | |
with: | |
mdbook-version: '0.4.37' | |
- run: mdbook build docs/book |