From 73352d4414008cd835d2afae91d88cd11a32cdb5 Mon Sep 17 00:00:00 2001 From: divlo Date: Tue, 20 Apr 2021 15:45:47 +0200 Subject: [PATCH] chore: add vercel-deploy.sh --- vercel-deploy.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 vercel-deploy.sh diff --git a/vercel-deploy.sh b/vercel-deploy.sh new file mode 100755 index 0000000..da23c3c --- /dev/null +++ b/vercel-deploy.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "VERCEL_ENV: ${VERCEL_ENV}" + +if [[ "${VERCEL_ENV}" == "production" ]]; then + echo "✅ - Build can proceed" + exit 1 +else + echo "🛑 - Build cancelled" + exit 0 +fi