diff options
| author | 2025-10-06 01:30:47 +0800 | |
|---|---|---|
| committer | 2025-10-06 01:30:47 +0800 | |
| commit | 0feea294ff710a682395208fed0580d9aa9d730a (patch) | |
| tree | 9403e5e41da578fb5666386b979ca7400d06e798 /.github/workflows | |
| parent | e03dbc1746ae2e502a2e15f316dbc7ab0ed7b6fd (diff) | |
| download | OneRoll-0feea294ff710a682395208fed0580d9aa9d730a.tar.gz OneRoll-0feea294ff710a682395208fed0580d9aa9d730a.zip | |
feat: replace LaTeX dependencies installation step with texlive-action and update GitHub token reference
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docs.yml | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4fe383c..ab5a60b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,11 +18,6 @@ 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 @@ -36,19 +31,21 @@ jobs: make html - name: Build LaTeX PDF file - run: | - cd docs - make latex - cd _build/latex - ls -l - make - cp *.pdf ../html/_static/ + uses: xu-cheng/texlive-action@v3 + with: + run: | + cd docs + make latex + cd _build/latex + ls -l + make + cp *.pdf ../html/_static/ - name: Deploy to GitHub Pages if: github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@v4 + uses: peaceiris/actions-gh-pagesBOT with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_TOKEN }} publish_dir: ./docs/_build/html publish_branch: gh-pages user_name: "hydroroll-bot" |
