Skip to content

Commit

Permalink
Use workflow call instead
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlGao4 committed Aug 17, 2024
1 parent fcaf79a commit 8d1d0e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/generate-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions .github/workflows/update-gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8d1d0e7

Please sign in to comment.