From 8807e6986cb61c357ab544c13a0c190393b8124c Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 7 Nov 2024 13:55:21 -0800 Subject: [PATCH] docs: ignore case production fork master (#27971) --- docs/ignore-step.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/ignore-step.sh b/docs/ignore-step.sh index 0169516ad8..8e2bb92877 100755 --- a/docs/ignore-step.sh +++ b/docs/ignore-step.sh @@ -2,13 +2,17 @@ echo "VERCEL_ENV: $VERCEL_ENV" echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" +echo "VERCEL_GIT_REPO_OWNER: $VERCEL_GIT_REPO_OWNER" +echo "VERCEL_GIT_REPO_SLUG: $VERCEL_GIT_REPO_SLUG" -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.3rc" ] +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.3rc" ]; \ + } && [ "$VERCEL_GIT_REPO_OWNER" == "langchain-ai" ] then echo "✅ Production build - proceeding with build" exit 1