Skip to content

Commit a430c76

Browse files
cant use on release as that is run from another workflow which this doesnt allow to trigger another workflow.
1 parent c24a69e commit a430c76

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: "2. Deploy docs to GitHub Pages"
22

33
on:
4-
release:
5-
types: [published]
6-
4+
workflow_run:
5+
workflows: ["1. CI/CD pull request"]
6+
types:
7+
- completed
8+
branches: [main]
79
workflow_dispatch:
810
inputs:
911
include_prereleases:

0 commit comments

Comments
 (0)