Skip to content

Commit 75e1969

Browse files
committed
gh-pages
1 parent 9adf5be commit 75e1969

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Documentation to GitHub Pages
1+
name: Deploy GitHub Pages
22

33
on:
44
push:
@@ -11,43 +11,38 @@ on:
1111
- 'rh-virt/**'
1212
- 'scripts/**'
1313
- 'docs/**'
14+
- '.github/workflows/deploy-pages.yml'
1415

15-
# Sets permissions for GitHub Pages deployment
1616
permissions:
1717
contents: read
1818
pages: write
1919
id-token: write
2020

21-
# Allow only one concurrent deployment
2221
concurrency:
2322
group: "pages"
2423
cancel-in-progress: false
2524

2625
jobs:
2726
build-and-deploy:
2827
runs-on: ubuntu-latest
29-
environment:
30-
name: github-pages
31-
url: ${{ steps.deployment.outputs.page_url }}
32-
3328
steps:
3429
- name: Checkout repository
3530
uses: actions/checkout@v4
3631

37-
- name: Set up Python
32+
- name: Setup Python
3833
uses: actions/setup-python@v5
3934
with:
4035
python-version: '3.11'
4136

42-
- name: Install Python dependencies
43-
run: |
44-
pip install pyyaml
37+
- name: Install uv
38+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
4539

46-
- name: Generate documentation data
40+
- name: Generate documentation
4741
run: |
48-
python scripts/build_website.py
42+
source $HOME/.cargo/env
43+
make generate
4944
50-
- name: Setup GitHub Pages
45+
- name: Setup Pages
5146
uses: actions/configure-pages@v4
5247

5348
- name: Upload artifact

0 commit comments

Comments
 (0)