Skip to content

Commit 09aa9b0

Browse files
committed
Configure the jekyll to activate after API docs refresh workflow run.
1 parent 053b3a8 commit 09aa9b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/jekyll.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ on:
1414
# Allows you to run this workflow manually from the Actions tab
1515
workflow_dispatch:
1616

17+
# GitHub Actions do not trigger another workflow when a commit is made by another workflow by default.
18+
# This is a security feature to prevent infinite loops and unintended automatic triggers.
19+
workflow_run:
20+
workflows: [ "API docs refresh" ]
21+
types:
22+
- completed
23+
24+
1725
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1826
permissions:
1927
contents: read

0 commit comments

Comments
 (0)