File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Deploy Documentation to GitHub Pages
1+ name : Deploy GitHub Pages
22
33on :
44 push :
1111 - ' rh-virt/**'
1212 - ' scripts/**'
1313 - ' docs/**'
14+ - ' .github/workflows/deploy-pages.yml'
1415
15- # Sets permissions for GitHub Pages deployment
1616permissions :
1717 contents : read
1818 pages : write
1919 id-token : write
2020
21- # Allow only one concurrent deployment
2221concurrency :
2322 group : " pages"
2423 cancel-in-progress : false
2524
2625jobs :
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
You can’t perform that action at this time.
0 commit comments