parent
a24ca937cd
commit
06e36f89e3
|
@ -7,6 +7,8 @@ if [[ $BUILDKITE_TAG == "" ]]; then
|
||||||
else
|
else
|
||||||
CI_DOCS_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false)
|
CI_DOCS_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false)
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
CI_DOCS_BYPASS="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
|
@ -11,6 +11,8 @@ if [[ $BUILDKITE_TAG == "" ]]; then
|
||||||
if [[ $CI_DOCS_BYPASS == "true" ]]; then
|
if [[ $CI_DOCS_BYPASS == "true" ]]; then
|
||||||
cat .buildkite/annotations/documentation | buildkite-agent annotate --style "info" --context "ctx-info"
|
cat .buildkite/annotations/documentation | buildkite-agent annotate --style "info" --context "ctx-info"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
CI_DOCS_BYPASS="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
Loading…
Reference in New Issue