github.com/m3db/m3@v1.5.0/.buildkite/scripts/check_do_docs.sh (about)

     1  #!/bin/bash
     2  
     3  set -exo pipefail
     4  
     5  if [[ "$BUILDKITE_BRANCH" != "master" ]]; then
     6    echo "nothing to do"
     7    exit 0
     8  fi
     9  
    10  buildkite-agent pipeline upload .buildkite/docs-build-pipeline.yml