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 7755bdb commit ccc6b8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/actions/build-mdbook/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ runs:
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:
RUST_LOG: INFO
shell: bash
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
with:
with_linkcheck: "false"
if: github.event.action != 'closed'
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book

# Deployment job
deploy:
Expand Down

0 comments on commit ccc6b8e

Please sign in to comment.