Skip to content

correct error

correct error #9

Workflow file for this run

name: Deploy mdBook to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install mdBook
run: cargo install mdbook --vers "^0.4.15"
- name: Build mdBook
run: mdbook build
- name: List output files
run: ls -R book
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book