Skip to content

Commit

Permalink
rid mdbook-sitemap-generator and use generic sitemap generator
Browse files Browse the repository at this point in the history
  • Loading branch information
SichangHe committed Sep 2, 2024
1 parent 2c7585c commit 30ed2ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ jobs:
lfs: true
- uses: cargo-bins/cargo-binstall@main
- name: Install mdBook, mdBook-KaTeX, and mdBook-ToC
run: cargo binstall -y mdbook mdbook-katex mdbook-toc mdbook-sitemap-generator
run: cargo binstall -y mdbook mdbook-katex mdbook-toc
- name: Install minify-html
run: |
curl -LO https://github.com/wilsonzlin/minify-html/releases/download/v0.15.0/minhtml-0.15.0-x86_64-unknown-linux-gnu
chmod +x minhtml-0.15.0-x86_64-unknown-linux-gnu
- name: Build
run: mdbook build
- name: Generate sitemap
run: sh gen_sitemap.sh
uses: cicirello/generate-sitemap@v1
with:
path-to-root: _site
base-url-path: https://sichanghe.github.io/
- name: Remove dummy CV for search indexing, making clicks fall through to the other repository's pages
run: rm _site/curriculum_vitae/index.html
- name: Minify HTML and CSS
Expand Down
4 changes: 0 additions & 4 deletions gen_sitemap.sh

This file was deleted.

0 comments on commit 30ed2ec

Please sign in to comment.