1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 15:14:59 +03:00

don't notify if running locally

This commit is contained in:
Shawn Allen 2017-07-25 11:58:52 -07:00
parent ca75293b48
commit 230c0455c8

View File

@ -1,7 +1,10 @@
#!/bin/bash
set -e
if [[ $# -lt 1 ]]; then
if [[ "$CI" != "true" ]]; then
echo "(notify bailing: not in CI)"
exit
elif [[ $# -lt 1 ]]; then
echo "No status provided!" >&2
exit 1
fi