Skip to content

Retrofit ViamImpl for access token auth (#56) #11

Retrofit ViamImpl for access token auth (#56)

Retrofit ViamImpl for access token auth (#56) #11

Workflow file for this run

name: Generate docs
on:
workflow_dispatch:
push:
paths:
- 'lib/**'
- 'doc/**'
- 'README.md'
- 'dartdoc_options.yaml'
branches: [ main ]
jobs:
generate-docs:
if: github.repository_owner == 'viamrobotics'
runs-on: [self-hosted, x64]
container:
image: ghcr.io/cirruslabs/flutter:3.7.12
steps:
- name: Checkout Push/Workflow Dispatch
uses: actions/checkout@v3
- name: Setup Flutter
run: flutter pub get
- name: Generate docs
run: dart doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/api
publish_branch: docs-gh_pages
cname: flutter.viam.dev
- name: Zip artifacts
run: zip html-docs.zip ./doc/api -r
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: html-docs.zip