diff --git a/.buildkite/deployment.sh b/.buildkite/deployment.sh index 027688f5f..c16e8a562 100755 --- a/.buildkite/deployment.sh +++ b/.buildkite/deployment.sh @@ -7,6 +7,8 @@ if [[ $BUILDKITE_TAG == "" ]]; then else CI_DOCS_BYPASS=$(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false) fi +else + CI_DOCS_BYPASS="false" fi cat << EOF diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index b25119807..7afe91f6f 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -11,6 +11,8 @@ if [[ $BUILDKITE_TAG == "" ]]; then if [[ $CI_DOCS_BYPASS == "true" ]]; then cat .buildkite/annotations/documentation | buildkite-agent annotate --style "info" --context "ctx-info" fi +else + CI_DOCS_BYPASS="false" fi cat << EOF