Skip to content

markdownlint-cli2 --fix src/**/*.md #231

markdownlint-cli2 --fix src/**/*.md

markdownlint-cli2 --fix src/**/*.md #231

Workflow file for this run

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