File tree Expand file tree Collapse file tree 1 file changed +25
-16
lines changed
Expand file tree Collapse file tree 1 file changed +25
-16
lines changed Original file line number Diff line number Diff line change 1- # This workflow will install Python dependencies and check for broken links
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
41name : Manual Pre Checks
52
63on :
7- push :
8- branches :
9- - " *"
104 pull_request :
11- branches :
12- - main
13- - v2
14- # Allows you to run this workflow manually from the Actions tab
5+ types : [opened, synchronize]
156 workflow_dispatch :
167
178jobs :
189 linkcheck :
1910 runs-on : ubuntu-latest
2011 steps :
21- - uses : actions/checkout@v4
22- - name : link-check
23- run : |
24- pip install -r requirements.txt
25- make linkcheck
26-
12+ - uses : actions/checkout@v4
13+ - name : Set up Python
14+ uses : actions/setup-python@v5
15+ with :
16+ python-version : 3.x
17+ - name : Install Dependencies
18+ run : pip install -r requirements.txt
19+ - name : Clean Previous Builds
20+ run : make linkcheck
21+ build-docs :
22+ runs-on : ubuntu-latest
23+ needs : linkcheck
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Set up Python
27+ uses : actions/setup-python@v5
28+ with :
29+ python-version : 3.x
30+ - name : Install Dependencies
31+ run : pip install -r requirements.txt
32+ - name : Clean Previous Builds
33+ run : make clean
34+ - name : Build Documentation
35+ run : make html SPHINXOPTS="-W"
You can’t perform that action at this time.
0 commit comments