From e03dbc1746ae2e502a2e15f316dbc7ab0ed7b6fd Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Mon, 6 Oct 2025 01:23:50 +0800 Subject: feat: add LaTeX dependencies installation and fix publish directory path in GitHub Actions workflow --- .github/workflows/docs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2