Skip to content

ci: add workflows for publishing to GH Pages (#13) #1

ci: add workflows for publishing to GH Pages (#13)

ci: add workflows for publishing to GH Pages (#13) #1

Workflow file for this run

name: Build and deploy GitHub Pages
on:
push:
branches:
- "main"
paths:
- "book.toml"
- "docs/**"
- ".github/actions/build-mdbook/action.yaml"
- ".github/workflows/pages-deploy.yaml"
concurrency: ci-${{ github.ref }}
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-mdbook
- name: Deploy
uses: JamesIves/[email protected]
with:
folder: build/html
clean-exclude: pr-preview/
force: false