Skip to content

Commit 9edd641

Browse files
committed
Auto merge of #9005 - flip1995:book_ci_2, r=xFrednet
Build mdbook in remark workflow r? `@xFrednet` Supersedes #8959 changelog: none
2 parents 71f2de9 + 980d88e commit 9edd641

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/remark.yml

+9
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,19 @@ jobs:
2626
- name: Install remark
2727
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
2828

29+
- name: Install mdbook
30+
run: |
31+
mkdir mdbook
32+
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.18/mdbook-v0.4.18-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
33+
echo `pwd`/mdbook >> $GITHUB_PATH
34+
2935
# Run
3036
- name: Check *.md files
3137
run: git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
3238

39+
- name: Build mdbook
40+
run: mdbook build book
41+
3342
# These jobs doesn't actually test anything, but they're only used to tell
3443
# bors the build completed, as there is no practical way to detect when a
3544
# workflow is successful listening to webhooks only.

0 commit comments

Comments
 (0)