From c1ab5ea69313acf3b1a0e126ffa3f0f9ad002b97 Mon Sep 17 00:00:00 2001 From: Liam Hupfer Date: Sun, 29 Jun 2025 13:06:43 -0500 Subject: [PATCH] ci: Build manual preview on PRs Not as convenient as a deploy preview, but better than nothing. Link: https://github.com/orgs/community/discussions/7730 --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3850447..01fa83a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,27 @@ jobs: - name: Test run: make test + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install deps + run: sudo apt install texinfo + + - name: Build docs + run: make html + + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: Docs + if-no-files-found: error + # TODO: optimize images + path: | + doc/ + !doc/images/ + # Local Variables: # eval: (outline-minor-mode) # End: