File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Docs
2-
32on :
43 pull_request :
54 push :
65 branches : [main]
76 tags :
87 - ' *'
98 merge_group :
10-
11- env :
12- COMMIT_EMAIL : ben.jeffery.well+adminbot@gmail.com
13- MAKE_TARGET : all
14- OWNER : tskit-dev
15- REPO : tsinfer
16-
179jobs :
18- build-deploy-docs :
19- name : Docs
20- runs-on : ubuntu-24.04
21- steps :
22- - name : Cancel Previous Runs
23- uses : styfle/cancel-workflow-action@0.12.1
24- with :
25- access_token : ${{ github.token }}
26-
27- - uses : actions/checkout@v4.2.2
28- with :
29- submodules : true
30-
31- - uses : actions/setup-python@v5.4.0
32- with :
33- python-version : " 3.11"
34- cache : " pip"
35-
36- - name : Install deps (one by one to avoid conflict errors)
37- run : |
38- pip install --upgrade pip wheel
39- pip install -r requirements/CI-docs/requirements.txt
40- sudo apt-get install -y tabix
41-
42- - name : Build C module
43- if : env.MAKE_TARGET
44- run : |
45- make $MAKE_TARGET
46-
47- - name : Build Docs
48- run : |
49- cd docs && make dist
50-
51- - name : Trigger docs site rebuild
52- if : github.ref == 'refs/heads/main'
53- run : |
54- curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \
55- -H 'Accept: application/vnd.github.everest-preview+json' \
56- -u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \
57- --data '{"event_type":"build-docs"}'
10+ Docs :
11+ uses : tskit-dev/.github/.github/workflows/docs-build-template.yml@main
12+ with :
13+ requirements-path : requirements/CI-docs/requirements.txt
14+ additional-setup : sudo apt-get install -y tabix
15+ make-command : make all
You can’t perform that action at this time.
0 commit comments