Skip to content

Commit

Permalink
Updated mdbook version to v0.4.36 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau authored Dec 26, 2023
1 parent e91c13c commit 8a3035c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:

# Lookup compatible version numbers at: https://github.com/lzanini/mdbook-katex/releases
env:
mdbook-version: '0.4.32'
katex-version: '0.5.5'
mdbook-version: '0.4.36'
katex-version: '0.5.9'
linkcheck-version: '0.7.7'

jobs:
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:

# Lookup compatible version numbers at: https://github.com/lzanini/mdbook-katex/releases
env:
mdbook-version: '0.4.32'
katex-version: '0.5.5'
mdbook-version: '0.4.36'
katex-version: '0.5.9'
linkcheck-version: '0.7.7'

jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Fetch mdbook-katex
uses: dsaltares/fetch-gh-release-asset@master
Expand All @@ -27,6 +28,19 @@ jobs:
- name: Install mdbook-katex
run: tar -xvf mdbook-katex-v${{env.katex-version}}-x86_64-unknown-linux-gnu.tar.gz -C /usr/local/bin

- name: Fetch mdbook-linkcheck
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: Michael-F-Bryan/mdbook-linkcheck
version: tags/v${{env.linkcheck-version}}
file: "mdbook-linkcheck.x86_64-unknown-linux-gnu.zip"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install mdbook-linkcheck
run: |
unzip mdbook-linkcheck.x86_64-unknown-linux-gnu.zip -d /usr/local/bin
chmod +x /usr/local/bin/mdbook-linkcheck
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
Expand All @@ -38,6 +52,6 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/
publish_dir: ./book/html/
allow_empty_commit: true
cname: docs.tlsnotary.org
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Install mdbook and mdbook-katex

```bash
cargo install mdbook --version 0.4.32
cargo install mdbook-katex --version 0.5.5
cargo install mdbook --version 0.4.36
cargo install mdbook-katex --version 0.5.9
cargo install mdbook-linkcheck
```

Expand Down

0 comments on commit 8a3035c

Please sign in to comment.