Fixed bug with FORCE_THEME_NAME

This commit is contained in:
2023-04-18 15:32:45 +00:00
parent ac4583339e
commit 9f414dde5d
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
variables:
HELM_CHART_VERSION: "0.8.6"
HELM_CHART_VERSION: "0.8.7"
stages:
- deploy

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: cloudypress
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
type: application
version: "0.8.6"
version: "0.8.7"
appVersion: "6.2.0"

View File

@@ -39,7 +39,9 @@ data:
RUN_COMPOSER: 'true'
INSTALL_SITE: {{ .Values.site.init.composerPackage }}
SET_THEME: {{ .Values.site.init.themeName | default "" }}
FORCE_THEME_NAME: {{ .Values.site.forceThemeName | default "" }}
{{- if .Values.site.forceThemeName }}
FORCE_THEME_NAME: {{ .Values.site.forceThemeName }}
{{- end }}
{{- end }}
{{- if and .Values.site.init .Values.site.init.content .Values.site.init.content.import }}