Skip to content

Commit 7c77c81

Browse files
Mpdreamzmergify[bot]
authored andcommitted
ci: enable use-release-branches for docs workflows (#50098)
* ci: enable use-release-branches for docs-build and docs-deploy Pairs with elastic/docs-actions reusable workflows: release-line pushes can refresh the shared link index even when commits do not touch docs/. Backport the same two workflow edits to branches 9.3 and 9.4 after merge. Made-with: Cursor * chore: drop backport comment from docs workflow YAML Made-with: Cursor (cherry picked from commit 3fb6501) # Conflicts: # .github/workflows/docs-build.yml # .github/workflows/docs-deploy.yml
1 parent b4c6bb1 commit 7c77c81

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/docs-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ jobs:
1313
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main
1414
with:
1515
enable-vale-linting: true
16+
<<<<<<< HEAD
1617
path-pattern: docs/**
1718
permissions:
1819
deployments: write
1920
id-token: write
2021
contents: read
2122
pull-requests: write
23+
=======
24+
use-release-branches: true
25+
>>>>>>> 3fb6501cb (ci: enable use-release-branches for docs workflows (#50098))

.github/workflows/docs-deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: docs-deploy
2+
on:
3+
workflow_run:
4+
workflows: [docs-build]
5+
types: [completed]
6+
permissions:
7+
contents: read
8+
deployments: write
9+
id-token: write
10+
pull-requests: write
11+
actions: read
12+
jobs:
13+
deploy:
14+
uses: elastic/docs-actions/.github/workflows/docs-deploy.yml@v1
15+
with:
16+
enable-vale-linting: true
17+
use-release-branches: true

0 commit comments

Comments
 (0)