Skip to content

docs: update some expressions #1

docs: update some expressions

docs: update some expressions #1

Workflow file for this run

name: github pages
on:
push:
branches:
- main
paths:
- 'guide/**'
- '.github/workflows/gh-pages.yml'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.40'
# mdbook-version: 'latest'
- run: mdbook build
working-directory: ./guide
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./guide/book