Skip to content

Bump actions/checkout from 3 to 4 (#346) #22

Bump actions/checkout from 3 to 4 (#346)

Bump actions/checkout from 3 to 4 (#346) #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-18.04
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.8'
- name: Build the book
working-directory: ./docs
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book