From 858f5e31e01ec03478e00e445f5247129f53e8b1 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Mon, 21 Aug 2023 16:57:30 +0200 Subject: [PATCH] Changed default build settings --- charts/static-site/values.yaml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/charts/static-site/values.yaml b/charts/static-site/values.yaml index 8262574..2fc419e 100644 --- a/charts/static-site/values.yaml +++ b/charts/static-site/values.yaml @@ -53,17 +53,8 @@ tolerations: [] affinity: {} # values to build and deploy static sites -gitCloneUrl: https://github.com/gimlet-io/hugo-site.git -buildImage: bitnami/git:latest # the image must have git installed +gitCloneUrl: https://github.com/gimlet-io/reactjs-test-app.git +buildImage: "node:latest" buildScript: | - # !/usr/bin/env bash - # pre -reqs - apt-get update && apt-get install -y wget - - # Setting up Hugo - wget https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_0.111.3_Linux-64bit.tar.gz && - tar -xzf hugo_0.111.3_Linux-64bit.tar.gz && - chmod +x hugo - - ./hugo -builtAssets: public/ + npm install && npm run build +builtAssets: build/