Skip to content

Commit b893dd5

Browse files
committed
ci: trigger deploy when gather-docs completes
1 parent 9ee16bb commit b893dd5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
paths:
88
- docs/**
99
- .github/workflows/deploy.yml
10+
workflow_run:
11+
workflows: ["Gather Project Docs"]
12+
types:
13+
- completed
1014
workflow_dispatch:
1115

1216
permissions:
@@ -20,6 +24,7 @@ concurrency:
2024

2125
jobs:
2226
build:
27+
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
2328
defaults:
2429
run:
2530
working-directory: docs

0 commit comments

Comments
 (0)