diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 4029e3d..0c1d329 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -1,9 +1,7 @@ name: Deploy TypeDoc on GitHub pages on: - workflow_dispatch: - release: - types: [published] + pull_request: env: NODE_VERSION: 22.x @@ -20,13 +18,6 @@ jobs: - name: Install dependencies run: npm install - name: Build documentation - uses: zakodium/typedoc-action@v2 + uses: zakodium/typedoc-action@update-typedoc with: entry: ${{ env.ENTRY_FILE }} - - name: Deploy to GitHub pages - uses: JamesIves/github-pages-deploy-action@releases/v4 - with: - token: ${{ secrets.BOT_TOKEN }} - branch: gh-pages - folder: docs - clean: true