markdownlint-cli2 --fix src/**/*.md #231
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: github pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup mdBook | |
| # https://github.com/jontze/action-mdbook | |
| uses: jontze/action-mdbook@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| # mdbook-version: 'latest' | |
| mdbook-version: "0.4.48" | |
| use-mermaid: true | |
| mermaid-version: "0.15.0" | |
| use-linkcheck: true | |
| linkcheck-version: "0.7.7" | |
| - name: Install mdbook-mermaid | |
| run: mdbook-mermaid install | |
| - name: Install mdbook-i18n-helpers | |
| run: make prepare_i18n | |
| - name: Build | |
| run: make build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./book |