Skip to content

Commit 95736ad

Browse files
authored
fix: trigger docs build after changelog update (#2710)
* fix: trigger documentation update after CHANGELOG completion * fix: update build-deploy job condition to handle workflow run status
1 parent fba4713 commit 95736ad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ on:
55
branches:
66
- main
77
workflow_dispatch:
8+
workflow_run:
9+
workflows: ["Update CHANGELOG"]
10+
types:
11+
- completed
812

913
concurrency:
1014
group: docs-${{ github.ref }}
1115
cancel-in-progress: true
1216

1317
jobs:
1418
build-deploy:
19+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run == null }}
1520
runs-on: ubuntu-24.04
1621
steps:
1722
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)