Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Commit a3a15c9

Browse files
committed
Build the documentation in GH Actions
1 parent 6d29e3e commit a3a15c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ jobs:
2929
with:
3030
globs: 'docssrc/src/*.md'
3131

32+
- name: Build the documentation with mdBook
33+
continue-on-error: true # If link checking fails with 403, that's probably just a timing/automated-related issue. We can ignore those - forcing the whole build to fail for this is not ideal.
34+
run: |
35+
cd docssrc
36+
curl -LJO https://github.com/JorelAli/mdBook/releases/download/v0.4.21-fa6/mdbook-fa6 && chmod +x mdbook-fa6
37+
mkdir -p mdbook-linkcheck && cd "$_" && curl -L https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip -o mdbook-linkcheck.zip && unzip "$_" && chmod +x mdbook-linkcheck && export PATH=$PWD:$PATH && cd ..
38+
./mdbook-fa6 build
39+
3240
- name: Build commandapi-documentation-code
3341
run: cd commandapi-documentation-code && ./gradlew build
3442

0 commit comments

Comments
 (0)