Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
purplenicole730 committed Dec 19, 2024
1 parent c01103f commit d00ad54
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
generate-docs:
# if: github.repository_owner == 'viamrobotics'
if: github.repository_owner == 'viamrobotics'
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter:latest
Expand All @@ -26,14 +26,14 @@ jobs:
- 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: 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
Expand Down

0 comments on commit d00ad54

Please sign in to comment.