-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 1.09 KB
/
ci.yml
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
name: ci
on:
push:
branches:
- main
repository_dispatch:
types: [build-docs]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: redoc-cli fleet
uses: seeebiii/redoc-cli-github-action@v10
with:
args: 'bundle https://raw.githubusercontent.com/orb-community/orb/develop/fleet/api/http/openapi.yaml -o docs/api/fleet.html'
- name: redoc-cli sinks
uses: seeebiii/redoc-cli-github-action@v10
with:
args: 'bundle https://raw.githubusercontent.com/orb-community/orb/develop/sinks/api/http/openapi.yaml -o docs/api/sinks.html'
- name: redoc-cli policies
uses: seeebiii/redoc-cli-github-action@v10
with:
args: 'bundle https://raw.githubusercontent.com/orb-community/orb/develop/policies/api/openapi.yaml -o docs/api/policies.html'
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material==8.3.9 mkdocs-material-extensions==1.0.3 mkdocs==1.3.1
- run: mkdocs gh-deploy --force