]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-website: Update build script for go-live 1851/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 23 Jun 2021 16:11:09 +0000 (12:11 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 23 Jun 2021 16:11:09 +0000 (12:11 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-website/build/build

index 072ba5b430c452aff9fbaf82a209bbe5090f79b9..e8a8a8b3384bfb3203702f9cc2760a2148260369 100755 (executable)
@@ -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