修改描述中与代码中不一致的方法名 #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Deploy gh-pages | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: install mdbook | |
run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook) | |
- name: build and test | |
run: mdbook build | |
- name: publish | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'eunomia-bpf' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: book |