File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ if [[ "${GITHUB_PR_BASE_REPO}" != 'docs' ]]; then
54
54
git fetch origin pull/$GITHUB_PR_NUMBER /head:$GITHUB_PR_BRANCH &&
55
55
git switch $GITHUB_PR_BRANCH &&
56
56
cd ..
57
-
57
+ # For product repos - context in https://github.com/elastic/docs/commit/5b06c2dc1f50208fcf6025eaed6d5c4e81200330
58
+ build_args+=" --keep_hash"
58
59
build_args+=" --sub_dir $GITHUB_PR_BASE_REPO :$GITHUB_PR_TARGET_BRANCH :./product-repo"
59
60
else
60
61
# Buildkite PR bot for the `elastic/docs` repo is configured to checkout the PR directly into the workspace
72
73
TARGET_BRANCH=" ${GITHUB_PR_BASE_REPO} _bk_${GITHUB_PR_NUMBER} "
73
74
PREVIEW_URL=" https://${TARGET_BRANCH} .docs-preview.app.elstc.co"
74
75
75
- build_cmd=" ./build_docs --all --keep_hash \
76
+ build_cmd=" ./build_docs --all \
76
77
--target_repo [email protected] :elastic/built-docs \
77
78
--reference /opt/git-mirrors/ \
78
79
--target_branch ${TARGET_BRANCH} \
You can’t perform that action at this time.
0 commit comments