File tree Expand file tree Collapse file tree 2 files changed +34
-75
lines changed Expand file tree Collapse file tree 2 files changed +34
-75
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # Based on ripgrep's release action:
2- # https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml
3-
41name : CI/CD for Documentation
5- on : [push, pull_request]
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ workflow_dispatch :
9+
610permissions :
711 contents : write
12+
813jobs :
914 build-and-deploy :
1015 name : build-and-deploy
1318 - uses : actions/checkout@v3
1419 - uses : dtolnay/rust-toolchain@master
1520 with :
16- toolchain : ' 1.77'
21+ toolchain : " 1.77"
1722 - uses : Swatinem/rust-cache@v2
1823 - uses : jdx/mise-action@v2
1924 - run : uv sync --locked
2530 uses : JamesIves/github-pages-deploy-action@v4
2631 with :
2732 folder : dist # The folder the action should deploy.
33+
34+ textlint-md :
35+ runs-on : ubuntu-24.04
36+ steps :
37+ - name : Checkout the repository
38+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
39+ - name : Setup tools
40+ uses : jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
41+ - name : Install dependencies
42+ run : bun install --frozen-lockfile
43+ - name : Lint Markdown using textlint
44+ run : bun run --bun textlint-md
45+
46+ textlint-html :
47+ runs-on : ubuntu-24.04
48+ steps :
49+ - name : Checkout the repository
50+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
51+ - name : Setup tools
52+ uses : jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2
53+ - name : Install dependencies
54+ run : bun install --frozen-lockfile
55+ - name : Lint HTML using textlint
56+ run : bun run --bun textlint-html
You can’t perform that action at this time.
0 commit comments