Merge pull request #58 from orb-community/update/nov24-update #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |