Skip to content

Commit aa97796

Browse files
committed
Update GitHub CI build to uv
1 parent b72f5d1 commit aa97796

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,19 @@ jobs:
1515
contents: write
1616
steps:
1717
- name: Check out
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
19+
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v5
1922

2023
- name: Lektor build
21-
run: |
22-
ls -l
23-
pwd
24-
sudo apt update
25-
sudo apt install python3-venv pipx
26-
pipx ensurepath
27-
pipx install lektor
28-
lektor build -O ./dist
24+
run: uv run lektor build -O ./dist
2925

3026
- name: Deploy
31-
uses: peaceiris/actions-gh-pages@v3
27+
uses: peaceiris/actions-gh-pages@v4
3228
if: ${{ github.ref == 'refs/heads/source' }}
3329
with:
3430
github_token: ${{ secrets.GITHUB_TOKEN }}
3531
publish_dir: ./dist
3632
publish_branch: master
37-
cname: madpy.com
33+
cname: madpy.com

0 commit comments

Comments
 (0)