File tree Expand file tree Collapse file tree 1 file changed +4
-40
lines changed
Expand file tree Collapse file tree 1 file changed +4
-40
lines changed Original file line number Diff line number Diff line change 11name : Build 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- OWNER : tskit-dev
14- REPO : tsdate
15- REQUIREMENTS : docs/requirements.txt
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-
29- - uses : actions/setup-python@v5.4.0
30- with :
31- python-version : " 3.10"
32- cache : ' pip'
33-
34- - name : Create venv and install deps
35- run : |
36- pip install --upgrade pip wheel
37- pip install -r ${{env.REQUIREMENTS}} --no-binary tsinfer
38-
39- - name : Build Docs
40- run : |
41- make -C docs
42-
43- - name : Trigger docs site rebuild
44- if : github.ref == 'refs/heads/main'
45- run : |
46- curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \
47- -H 'Accept: application/vnd.github.everest-preview+json' \
48- -u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \
49- --data '{"event_type":"build-docs"}'
10+ Docs :
11+ uses : tskit-dev/.github/.github/workflows/docs-build-template.yml@main
12+ with :
13+ requirements-path : docs/requirements.txt
You can’t perform that action at this time.
0 commit comments