From: David Galloway Date: Wed, 23 Jun 2021 16:11:09 +0000 (-0400) Subject: ceph-website: Update build script for go-live X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1851%2Fhead;p=ceph-build.git ceph-website: Update build script for go-live Signed-off-by: David Galloway --- 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