File tree Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Expand file tree Collapse file tree 1 file changed +12
-23
lines changed Original file line number Diff line number Diff line change 1- name : Build docs
1+ name : Deploy docs to GitHub Pages
22
33on :
44 push :
5- branches :
6- - main
7- - devel
8- pull_request :
9- branches :
10- - main
11- - devel
12-
13- # Allows you to run this workflow manually from the Actions tab
5+ branches : ["devel"]
146 workflow_dispatch :
157
16- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
178permissions :
189 contents : read
1910 pages : write
2011 id-token : write
2112
22- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
23- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2413concurrency :
2514 group : " pages"
2615 cancel-in-progress : false
2716
2817jobs :
29- deploy_docs :
18+ build-and-deploy :
19+ runs-on : ubuntu-latest
3020 environment :
3121 name : github-pages
3222 url : ${{ steps.deployment.outputs.page_url }}
33- runs-on : ubuntu-latest
23+
3424 steps :
3525 - name : Checkout
3626 uses : actions/checkout@v4
3727
38- - name : Install Pandoc
28+ - name : Install pandoc
3929 run : |
4030 sudo apt-get update
4131 sudo apt-get install -y pandoc
4232
43- - name : Install python dependencies
33+ - name : Install Python dependencies
4434 run : |
4535 python -m pip install --upgrade pip
4636 pip install ".[docs]"
47-
48- - name : Build Sphinx documentation
37+
38+ - name : Build Sphinx docs
4939 run : |
50- cd docs/
40+ cd docs
5141 make html
5242
5343 - name : Setup Pages
5444 uses : actions/configure-pages@v5
5545
56- - name : Upload artifact
46+ - name : Upload built docs
5747 uses : actions/upload-pages-artifact@v3
5848 with :
59- # Upload entire repository
60- path : ./docs/build/html/
49+ path : docs/build/html/
6150
6251 - name : Deploy to GitHub Pages
6352 id : deployment
You can’t perform that action at this time.
0 commit comments