diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a3a091a7..80147309 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,9 @@ name: Generate and Deploy Docs on: + push: + branches: + - main workflow_dispatch: jobs: @@ -31,4 +34,4 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: doc/api \ No newline at end of file + publish_dir: ./doc/api \ No newline at end of file