-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 999 Bytes
/
deploy-docs.yml
File metadata and controls
30 lines (30 loc) · 999 Bytes
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
{
"name": "Deploy docs",
"on": { "push": { "branches": "main" }},
"jobs": {
"update-pages": {
"runs-on": "ubuntu-latest",
"steps": [
{
"name": "Check out code",
"uses": "actions/checkout@v2",
},
{
"name": "Build docs",
"env": { "DISTRO": "fedora:latest" },
"run": "./ci/run-on-linux.sh ./ci/before-docs-deploy.sh",
},
{
"name": "Deploy latest docs",
"uses": "JamesIves/github-pages-deploy-action@3.7.1",
"with": {
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
"BRANCH": "gh-pages",
"FOLDER": "ci_docs_build/html",
"TARGET_FOLDER": "latest",
},
},
],
},
},
}