Skip to content

Commit 6a79b02

Browse files
committed
Update build-doc.yml
1 parent 5b0ef50 commit 6a79b02

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build-doc.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,21 @@ jobs:
3838
run: |
3939
cd doc
4040
uv pip list
41+
42+
- name: Build HTML docs
43+
env:
44+
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
45+
run: |
46+
cd doc
47+
echo "${MAPBOX_TOKEN}" > python/.mapbox_token
48+
uv run make -kj8 || uv run make -kj8
49+
curl https://raw.githubusercontent.com/plotly/graphing-library-docs/master/front-matter-ci.py > front-matter-ci.py
50+
curl https://raw.githubusercontent.com/plotly/graphing-library-docs/master/check-or-enforce-order.py > check-or-enforce-order.py
51+
uv run python front-matter-ci.py build/html
52+
uv run python check-or-enforce-order.py build/html
53+
54+
- name: Upload docs artifact
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: doc-build
58+
path: doc/build/

0 commit comments

Comments
 (0)