Skip to content

ci: fix

ci: fix #2

Workflow file for this run

name: github pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.37'
- name: Build mdBook
run: mdbook build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: book
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2