Skip to content

A0-3952: Bump the all-github-actions group with 2 updates (#437) #22

A0-3952: Bump the all-github-actions group with 2 updates (#437)

A0-3952: Bump the all-github-actions group with 2 updates (#437) #22

Workflow file for this run

name: github pages
on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/gh-pages.yml'
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.8'
- name: Build the book
working-directory: ./docs
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book