Skip to content

Commit 1ac73ef

Browse files
committed
fix: Fixup github workflow to rebuild the HTML files
Use uv to run the new yaml_to_html.py.
1 parent 2ea2de6 commit 1ac73ef

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/run_to_html.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,16 @@ jobs:
1616
uses: actions/checkout@v5
1717
with:
1818
ref: ${{ github.event.pull_request.head.ref }}
19-
# Value already defaults to true, but `persist-credentials` is required to push new commits to the repository.
2019
persist-credentials: true
21-
22-
- name: Set up Python
23-
uses: actions/setup-python@v4
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v7
2422
with:
25-
python-version: '3.x'
26-
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install -r utils/requirements.txt
31-
23+
python-version: "3.10"
24+
- name: Install the project
25+
run: uv sync --all-extras --dev
3226
- name: Generate html
33-
run: |
34-
python yaml_to_html.py
35-
27+
run: uv run yaml_to_html.py
3628
- name: Commit changes
3729
uses: stefanzweifel/git-auto-commit-action@v7
3830
with:
3931
commit_message: "Auto-update HTML files"
40-

0 commit comments

Comments
 (0)