From 7755bdb4937934e89ebdf6b45605cfaa0975b60e Mon Sep 17 00:00:00 2001 From: lispking Date: Wed, 30 Oct 2024 05:01:29 +0800 Subject: [PATCH] fix cd --- .github/actions/build-mdbook/action.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/actions/build-mdbook/action.yaml b/.github/actions/build-mdbook/action.yaml index de042347..c309cc4d 100644 --- a/.github/actions/build-mdbook/action.yaml +++ b/.github/actions/build-mdbook/action.yaml @@ -37,8 +37,17 @@ 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 - name: Build the book and check for broken links run: MDBOOK_BOOK__LANGUAGE=zh_CN mdbook build env: RUST_LOG: INFO shell: bash + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./book