RSDK-2379 Add getStream to stream api (#141) #55
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: Generate docs | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'src/**' | |
- 'README.md' | |
branches: [main] | |
jobs: | |
generate-docs: | |
if: github.repository_owner == 'viamrobotics' | |
runs-on: [self-hosted, x64] | |
container: | |
image: ghcr.io/viamrobotics/canon:amd64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
sudo chown -R testbot . | |
sudo -u testbot bash -lc 'make build' | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: html-docs | |
path: docs/dist | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/main' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/dist | |
publish_branch: docs-gh_pages | |
cname: ts.viam.dev |