fix(docs): 更正术语“先觉条件”为“先决条件” #86
Workflow file for this run
This file contains hidden or 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: mdbook | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- "releases/*" | |
pull_request: | |
branches: | |
- main | |
- master | |
types: | |
- closed | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
- run: go version | |
- run: go env | |
- run: go install github.com/wa-lang/wabook@latest | |
- run: wabook build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.DEPLOY_KEY }} | |
publish_dir: ./book | |
publish_branch: gh-pages | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' | |
- name: Deploy Golang-China | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GOLANG_CHINA_DEPLOY_KEY }} | |
external_repository: golang-china/gopl-zh | |
publish_dir: ./book | |
publish_branch: gh-pages | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |