Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tiankaima committed Oct 21, 2023
1 parent 15d7c64 commit 06679bf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,21 @@ jobs:
run: |
pip install notebook
sudo apt-get update
sudo apt-get install -y pandoc
sudo apt-get install -y pandoc texlive-latex-recommended texlive-xetex texlive-luatex pandoc-citeproc \
texlive-latex-extra context wkhtmltopdf librsvg2-bin groff ghc nodejs python \
libjs-mathjax libjs-katex citation-style-language-styles \
- name: Install "Source Han Serif CN" font
- name: Install Source Han Serif CN & Eisvogel
run: |
mkdir -p /tmp/SourceHanSerifCN
wget https://mirrors.tuna.tsinghua.edu.cn/adobe-fonts/source-han-serif/SubsetOTF/SourceHanSerifCN.zip -O /tmp/SourceHanSerifCN.zip
unzip /tmp/SourceHanSerifCN.zip -d /tmp/SourceHanSerifCN
mkdir -p /usr/share/fonts/SourceHanSerifCN
cp /tmp/SourceHanSerifCN/*.otf /usr/share/fonts/SourceHanSerifCN
wget https://github.com/Wandmalfarbe/pandoc-latex-template/releases/download/v2.4.1/Eisvogel-2.4.1.zip -O /tmp/Eisvogel.zip
unzip /tmp/Eisvogel.zip -d /tmp/Eisvogel
mkdir -p /usr/share/pandoc/data/templates/
cp /tmp/Eisvogel/eisvogel.tex /usr/share/pandoc/data/templates/eisvogel.latex
- name: Run build.sh
run: ./build.sh
Expand Down

0 comments on commit 06679bf

Please sign in to comment.