From 235177d2fdb027fc2281ca7754dcf5d33f43d21e Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 23 Jun 2021 12:11:09 -0400 Subject: [PATCH] ceph-website: Update build script for go-live Signed-off-by: David Galloway --- ceph-website/build/build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ceph-website/build/build b/ceph-website/build/build index 072ba5b4..e8a8a8b3 100755 --- a/ceph-website/build/build +++ b/ceph-website/build/build @@ -6,16 +6,9 @@ env BRANCH=$(echo $GIT_BRANCH | sed 's:.*/::') -# Don't think this is even necessary -#git checkout ${BRANCH} - npm install -if [ "$BRANCH" == "master" ]; then - npm run build:production -elif [ "$BRANCH" == "main" ]; then - npm run build:production -elif [ "$BRANCH" == "develop" ]; then +if [ "$BRANCH" == "main" ]; then npm run build:production else npm run build:development -- 2.47.3