mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 05:43:09 +00:00
Run mdbook-linkcheck standalone; upload Pages from target/book
This commit is contained in:
parent
62a4dc938c
commit
d62d551492
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -434,11 +434,13 @@ jobs:
|
||||
run: npx -y markdownlint-cli2 "book/src/**/*.md"
|
||||
- name: Build book
|
||||
run: mdbook build book
|
||||
- name: Check links
|
||||
run: mdbook-linkcheck -s book
|
||||
- name: Upload book artifact for Pages
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: book/book
|
||||
path: target/book
|
||||
|
||||
deploy_book:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
|
||||
@ -8,9 +8,6 @@ title = "Nomos Testing Book"
|
||||
# Keep book output in target/ to avoid polluting the workspace root.
|
||||
build-dir = "../target/book"
|
||||
|
||||
[preprocessor.linkcheck]
|
||||
command = "mdbook-linkcheck"
|
||||
|
||||
[output.html]
|
||||
additional-js = ["theme/mermaid-init.js"]
|
||||
default-theme = "light"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user