Skip to content

Commit 0f133d1

Browse files
authored
Add docs workflow (#157)
1 parent d3cf3b5 commit 0f133d1

File tree

3 files changed

+828
-522
lines changed

3 files changed

+828
-522
lines changed

.github/workflows/docs.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Docs
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
FORCE_COLOR: 1
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
name: Docs
13+
14+
steps:
15+
- uses: actions/checkout@v6
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: "3.x"
21+
22+
- name: Install dependencies
23+
run: |
24+
cd docs && npm install
25+
26+
- name: Build
27+
run: |
28+
cd docs
29+
rm -r bundles
30+
npm run build
31+
if [ ! -d bundles ]; then
32+
exit 1
33+
fi

0 commit comments

Comments
 (0)