Skip to content

Commit 8bd342a

Browse files
authored
Update build_pr.sh
1 parent 2f24666 commit 8bd342a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.buildkite/scripts/build_pr.sh

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ if [[ "${GITHUB_PR_BASE_REPO}" != 'docs' ]]; then
7777
docs_diff=$(git diff --stat "origin/$GITHUB_PR_TARGET_BRANCH"...HEAD -- ./docs ./changelogs CHANGELOG.asciidoc)
7878
;;
7979

80+
"docs-content")
81+
git fetch origin "$GITHUB_PR_TARGET_BRANCH"
82+
docs_diff=$(git diff --stat "origin/$GITHUB_PR_TARGET_BRANCH"...HEAD -- ./serverless)
83+
;;
84+
8085
"beats")
8186
git fetch origin "$GITHUB_PR_TARGET_BRANCH"
8287
docs_diff=$(git diff --stat "origin/$GITHUB_PR_TARGET_BRANCH"...HEAD -- ./auditbeat ./CHANGELOG.asciidoc ./docs ./filebeat ./heartbeat ./journalbeat ./libbeat/docs ./libbeat/outputs/*/docs/* ./libbeat/processors/*/docs/* ./metricbeat ./packetbeat ./topbeat/docs ./winlogbeat ./x-pack/auditbeat ./x-pack/dockerlogbeat/docs ./x-pack/filebeat/docs ./x-pack/filebeat/processors/*/docs/* ./x-pack/functionbeat ./x-pack/libbeat/docs ./x-pack/libbeat/processors/*/docs/* ./x-pack/metricbeat/module)

0 commit comments

Comments
 (0)