From d00ad54b31565c30cd508b72c9a3d8f99f335caa Mon Sep 17 00:00:00 2001 From: purplenicole730 Date: Thu, 19 Dec 2024 09:43:56 -0500 Subject: [PATCH] finalize --- .github/workflows/docs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aebe7a9e19..1eebe2e1c9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 @@ -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