From df6cddafbafae4b3e5a56ac5832c370892a9d11d Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 12 Sep 2024 18:32:17 -0700 Subject: [PATCH] docs: ignore step (#26409) --- docs/ignore-step.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/ignore-step.sh b/docs/ignore-step.sh index fc355497936..40bc7a7c4df 100755 --- a/docs/ignore-step.sh +++ b/docs/ignore-step.sh @@ -4,9 +4,14 @@ echo "VERCEL_ENV: $VERCEL_ENV" echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" -if [ "$VERCEL_ENV" == "production" ] || [ "$VERCEL_GIT_COMMIT_REF" == "master" ] || [ "$VERCEL_GIT_COMMIT_REF" == "v0.1" ]; then - echo "✅ Production build - proceeding with build" - exit 1; +if [ "$VERCEL_ENV" == "production" ] || \ + [ "$VERCEL_GIT_COMMIT_REF" == "master" ] || \ + [ "$VERCEL_GIT_COMMIT_REF" == "v0.1" ] || \ + [ "$VERCEL_GIT_COMMIT_REF" == "v0.2" ] || \ + [ "$VERCEL_GIT_COMMIT_REF" == "v0.3" ] +then + echo "✅ Production build - proceeding with build" + exit 1 fi