aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-10-06 01:23:50 +0800
committerHsiangNianian <i@jyunko.cn>2025-10-06 01:23:50 +0800
commite03dbc1746ae2e502a2e15f316dbc7ab0ed7b6fd (patch)
tree990d10e0b062f97df0d79cb2fce65ed06a67d5f8
parentc79ded44babda43d13fdc9ccd5b45aa397fa1a1a (diff)
downloadOneRoll-e03dbc1746ae2e502a2e15f316dbc7ab0ed7b6fd.tar.gz
OneRoll-e03dbc1746ae2e502a2e15f316dbc7ab0ed7b6fd.zip
feat: add LaTeX dependencies installation and fix publish directory path in GitHub Actions workflow
-rw-r--r--.github/workflows/docs.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 073db50..4fe383c 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -18,6 +18,11 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6
+ - name: Install LaTeX dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk
+
- name: Install dependencies
run: |
uv sync --all-groups
@@ -29,8 +34,10 @@ jobs:
cd docs
ls -l
make html
+
- name: Build LaTeX PDF file
run: |
+ cd docs
make latex
cd _build/latex
ls -l
@@ -42,7 +49,7 @@ jobs:
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./docs/build/html
+ publish_dir: ./docs/_build/html
publish_branch: gh-pages
user_name: "hydroroll-bot"
user_email: "bot@hydroroll.team"