切换到 mnbook 构建

This commit is contained in:
chai2010
2024-08-08 15:46:18 +08:00
parent 6849a4049a
commit b76e3beb2c
8 changed files with 50 additions and 572 deletions

View File

@@ -18,13 +18,16 @@ jobs:
- name: Git checkout
uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- name: Set up Go
uses: actions/setup-go@v2
with:
mdbook-version: '0.4.10'
# mdbook-version: 'latest'
go-version: 1.21
- run: mdbook build
- run: go version
- run: go env
- run: go install github.com/wa-lang/mnbook@latest
- run: mnbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3