[boards] Move docs generation to GitHub Actions
This commit is contained in:
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
@@ -18,12 +18,14 @@ jobs:
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install ltchiptool
|
||||
run: pip install ltchiptool
|
||||
- name: Install docs dependencies
|
||||
run: pip install -U ltchiptool boardgen
|
||||
|
||||
- name: Generate static JSON files
|
||||
- name: Generate docs and static JSON files
|
||||
run: |
|
||||
mkdir -p site/
|
||||
boardgen ltci
|
||||
python docs/update_docs.py
|
||||
python docs/build_json.py
|
||||
cp *.json site/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user