Skip to content

Commit 2e3d672

Browse files
committedFeb 12, 2025··
Add "repository_dispatch" workflow trigger
1 parent b6efc93 commit 2e3d672

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎.github/workflows/deploy-pages.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
name: Deploy 🚚 IMCF 🔬 pages and API docs
22

33
on:
4-
# Run on pushes targeting the default branch
4+
# Run on pushes targeting the default branch.
55
push:
66
branches: ["main"]
77

8-
# Allowto run this workflow manually from the Actions tab
8+
# Allow to run this workflow manually from the Actions tab.
99
workflow_dispatch:
1010

11+
# Listen to dispatch events through the GitHub API. Can be used to trigger
12+
# this workflow from other repositories / actions.
13+
repository_dispatch:
14+
types: [deploy-pages]
15+
1116
# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1217
permissions:
1318
contents: read

0 commit comments

Comments
 (0)
Please sign in to comment.