mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-16 19:31:37 +00:00
切换到 mnbook 构建
This commit is contained in:
13
.github/workflows/book.yml
vendored
13
.github/workflows/book.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user