Skip to content

Merge pull request #152 from ueckoken/update-archtecture #87

Merge pull request #152 from ueckoken/update-archtecture

Merge pull request #152 from ueckoken/update-archtecture #87

Workflow file for this run

name: GitBook Deploy
on:
push:
branches:
- main
paths:
- "documents/**"
pull_request:
paths:
- "documents/**"
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.10'
# mdbook-version: 'latest'
# Install mdbook-mermaid
- run: cargo install mdbook-mermaid
- run: mdbook build documents
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./documents/book