FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
.github/.github/workflows/docs.yml at main · tskit-dev/.github · GitHub
tskit-dev
/
.github
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
.github
/
.github
/
workflows
/
docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
76 lines (65 loc) · 2.39 KB
Breadcrumbs
.github
/
.github
/
workflows
/
docs.yml
Copy path
File metadata and controls
76 lines (65 loc) · 2.39 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
Reusable workflow for building docs in a tskit-dev package repo.
#
#
Called from each package's own .github/workflows/docs.yml on push/PR.
#
Checks out the current repo, delegates the build to the build-docs
#
composite action, and triggers a tskit-site rebuild on merge to main.
#
#
Requirements: see .github/actions/build-docs/action.yml
name
:
Documentation workflow for tskit-dev
on
:
workflow_call
:
inputs
:
pyproject-directory
:
description
:
'
Directory containing pyproject.toml (relative to repo root)
'
required
:
false
type
:
string
default
:
'
.
'
additional-apt-packages
:
description
:
'
Additional APT packages to install
'
required
:
false
type
:
string
default
:
'
'
install-slim
:
description
:
'
Whether to install SLiM
'
required
:
false
type
:
boolean
default
:
false
install-slim-branch
:
description
:
'
Name of github branch to install SLiM from (if not specified, use conda)
'
required
:
false
type
:
string
default
:
'
'
install-playwright
:
description
:
'
Install Playwright (chromium) for docs that render browser screenshots
'
required
:
false
type
:
boolean
default
:
false
permissions
:
contents
:
read
jobs
:
Docs
:
name
:
Build docs
runs-on
:
ubuntu-24.04
steps
:
-
uses
:
styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
#
0.13.1
with
:
access_token
:
${{ github.token }}
-
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
#
v7.0.0
with
:
submodules
:
true
fetch-depth
:
0
persist-credentials
:
false
-
uses
:
$/.github/actions/build-docs
with
:
pyproject-directory
:
${{ inputs.pyproject-directory }}
additional-apt-packages
:
${{ inputs.additional-apt-packages }}
install-slim
:
${{ inputs.install-slim }}
install-slim-branch
:
${{ inputs.install-slim-branch }}
install-playwright
:
${{ inputs.install-playwright }}
-
name
:
Trigger tskit-site rebuild
if
:
github.ref == 'refs/heads/main'
run
:
|
curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \
--data '{"event_type":"build-docs"}'
Back
|
FazBrowse Home
|
New Git URL