Advertisement
s4ros

circle-validator

Jan 28th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [[ -z $CIRCLE_TOKEN ]]; then
  4.   echo "Please, export CIRCLE_TOKEN first."
  5.   exit 1
  6. fi
  7.  
  8. docker run --rm -v $(pwd):/data circleci/circleci-cli:alpine config validate /data/.circleci/config.yml --token $CIRCLE_TOKEN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement