[Buildkite] Compare to `origin/master` for docs bypass (#696)

pull/697/head
Amir Zarrinkafsh 2020-03-09 15:59:58 +11:00 committed by GitHub
parent 49c40ca0a0
commit df431b32c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ set -u
cat << EOF cat << EOF
env: env:
CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point 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)
steps: steps:
- label: ":docker: Image Deployments" - label: ":docker: Image Deployments"

View File

@ -3,7 +3,7 @@ set -u
cat << EOF cat << EOF
env: env:
CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point 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)
steps: steps:
- label: ":hammer_and_wrench: Unit Test" - label: ":hammer_and_wrench: Unit Test"