Skip to content

Commit

Permalink
fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
lispking committed Oct 29, 2024
1 parent ccc6b8e commit 9f821dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/actions/build-mdbook/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ runs:
url="https://github.com/lzanini/mdbook-katex/releases/download/0.9.0-binaries/mdbook-katex-v0.9.0-x86_64-unknown-linux-gnu.tar.gz"
curl -sSL "$url" | tar -xz --directory=bin
shell: bash
- name: Install mdbook-i18n-helpers
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
cargo install mdbook-i18n-helpers
shell: bash
- name: Build the book and check for broken links
run: MDBOOK_BOOK__LANGUAGE=zh_CN mdbook build
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install mdbook-i18n-helpers
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
cargo install mdbook-i18n-helpers
- uses: ./.github/actions/build-mdbook
with:
with_linkcheck: "false"
Expand Down

0 comments on commit 9f821dc

Please sign in to comment.