diff --git a/.github/workflows/generate-toc.yml b/.github/workflows/generate-toc.yml index 13a48d4..15f9a73 100644 --- a/.github/workflows/generate-toc.yml +++ b/.github/workflows/generate-toc.yml @@ -49,3 +49,7 @@ jobs: if: ${{ steps.generate-toc.outputs.continue_commit != 'false' }} with: commit-message: ${{ steps.generate-toc.outputs.commit_message }} + + trigger-gh-pages-update: + needs: generate-instrument-toc + uses: ./.github/workflows/update-gh-page.yml \ No newline at end of file diff --git a/.github/workflows/update-gh-page.yml b/.github/workflows/update-gh-page.yml index 74e1573..9f843a4 100644 --- a/.github/workflows/update-gh-page.yml +++ b/.github/workflows/update-gh-page.yml @@ -7,10 +7,7 @@ on: - "*.md" - "*.py" workflow_dispatch: - workflow_run: - workflows: ["Generate Instrument Table of Contents"] - types: - - completed + workflow_call: concurrency: group: ${{ github.workflow }}