File tree Expand file tree Collapse file tree 1 file changed +6
-48
lines changed Expand file tree Collapse file tree 1 file changed +6
-48
lines changed Original file line number Diff line number Diff line change 1
1
name : Docs
2
-
3
2
on :
4
3
pull_request :
5
4
push :
6
5
branches : [main]
7
6
tags :
8
7
- ' *'
9
8
merge_group :
10
-
11
- env :
12
-
13
- MAKE_TARGET : all
14
- OWNER : tskit-dev
15
- REPO : tsinfer
16
-
17
9
jobs :
18
- build-deploy-docs :
19
- name : Docs
20
- runs-on : ubuntu-24.04
21
- steps :
22
- - name : Cancel Previous Runs
23
-
24
- with :
25
- access_token : ${{ github.token }}
26
-
27
-
28
- with :
29
- submodules : true
30
-
31
-
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