mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
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
This commit is contained in:
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@ -58,6 +58,27 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
run: make 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:
|
# Local Variables:
|
||||||
# eval: (outline-minor-mode)
|
# eval: (outline-minor-mode)
|
||||||
# End:
|
# End:
|
||||||
|
Reference in New Issue
Block a user