Skip to content

Commit fe960e8

Browse files
committed
Sending commands via action
1 parent 2429a73 commit fe960e8

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ inputs:
1515
metadata-only:
1616
description: 'Only generate documentation metadata files'
1717
required: false
18+
command:
19+
description: 'The builder command to run'
20+
required: false
1821
outputs:
1922
landing-page-path:
2023
description: 'Path to the landing page of the documentation'

actions/diff-validate/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: 'Validate Redirect Rules'
22
description: 'Validates consistency of the documentation changes in relation to redirect rules'
33

44
runs:
5-
using: 'docker'
6-
image: "docker://ghcr.io/elastic/docs-builder:edge"
7-
args:
8-
- "diff"
9-
- "validate"
5+
using: "composite"
6+
steps:
7+
- name: Validate Redirect Rules
8+
uses: elastic/docs-builder@main
9+
with:
10+
command: "diff validate"

0 commit comments

Comments
 (0)