Skip to content

Commit a50c661

Browse files
committed
build-only docs w/o deploy on pr push
1 parent ff52d31 commit a50c661

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
@@ -98,6 +98,26 @@ jobs:
9898
- name: Check clang-format
9999
run: cmake --build build --target clang-format-check
100100

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

0 commit comments

Comments
 (0)