Skip to content

Commit 4d283d3

Browse files
committed
build-only docs w/o deploy on pr push
1 parent 06898a7 commit 4d283d3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/pr_push.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,26 @@ jobs:
100100
- name: Check clang-format
101101
run: cmake --build build --target clang-format-check
102102

103+
DocsBuild:
104+
name: Build docs
105+
runs-on: ubuntu-latest
106+
107+
steps:
108+
- name: Checkout repository
109+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
110+
111+
- name: Install doxygen
112+
run: |
113+
sudo apt-get update
114+
sudo apt-get install -y doxygen
115+
116+
- name: Install pip requirements
117+
run: python3 -m pip install -r third_party/requirements.txt
118+
119+
- name: Build the documentation
120+
working-directory: scripts
121+
run: python3 generate_docs.py
122+
103123
Spellcheck:
104124
uses: ./.github/workflows/spellcheck.yml
105125
Build:

0 commit comments

Comments
 (0)