Skip to content

Commit 002883a

Browse files
committed
Fix workflows
1 parent 3adcb0c commit 002883a

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/deploy.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v4
13+
- name: Checkout Code
14+
uses: actions/checkout@v5
15+
1516
- name: Setup Pages
1617
id: pages
1718
uses: actions/configure-pages@v5
18-
- name: Build with Python
19-
uses: actions/setup-python@v5
20-
- name: Install Python requirements
21-
run: pip install -r requirements.txt
19+
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v7
22+
23+
- name: Install the project
24+
run: uv sync --locked --all-extras --dev
25+
2226
- name: Generate website
23-
run: python generator.py
27+
run: uv run generator.py
28+
2429
- name: Upload artifact
2530
uses: actions/upload-pages-artifact@v3
2631

.github/workflows/projects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
uses: stefanzweifel/git-auto-commit-action@v5
3333
with:
3434
commit_message: "Update project data for Issue #${{ github.event.issue.number }}"
35-
file_pattern: "data/projects/*.json"
35+
file_pattern: "data/projects/*.json"

0 commit comments

Comments
 (0)