mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[Buildkite] Fix unbound variable for docs bypass (#711)
This commit is contained in:
parent
a24ca937cd
commit
06e36f89e3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user