Added option to force theme name
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.8.4"
|
HELM_CHART_VERSION: "0.8.5"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: cloudypress
|
name: cloudypress
|
||||||
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
|
description: Helm chart to deploy Wordpress backed by PHP-CLI and Nginx Unit
|
||||||
type: application
|
type: application
|
||||||
version: "0.8.4"
|
version: "0.8.5"
|
||||||
appVersion: "6.2.0"
|
appVersion: "6.2.0"
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ data:
|
|||||||
RUN_COMPOSER: 'true'
|
RUN_COMPOSER: 'true'
|
||||||
INSTALL_SITE: {{ .Values.site.init.composerPackage }}
|
INSTALL_SITE: {{ .Values.site.init.composerPackage }}
|
||||||
SET_THEME: {{ .Values.site.init.themeName | default "" }}
|
SET_THEME: {{ .Values.site.init.themeName | default "" }}
|
||||||
|
FORCE_THEME_NAME: {{ .Values.site.forceThemeName | default "" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if and .Values.site.init .Values.site.init.content .Values.site.init.content.import }}
|
{{- if and .Values.site.init .Values.site.init.content .Values.site.init.content.import }}
|
||||||
@@ -110,7 +111,6 @@ data:
|
|||||||
"uri": [
|
"uri": [
|
||||||
"*.php",
|
"*.php",
|
||||||
"*.php/*",
|
"*.php/*",
|
||||||
"/wp-admin/",
|
|
||||||
"/wp/wp-admin/"
|
"/wp/wp-admin/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -119,7 +119,7 @@ data:
|
|||||||
"action": {
|
"action": {
|
||||||
"share": "/app/web$uri",
|
"share": "/app/web$uri",
|
||||||
"fallback": {
|
"fallback": {
|
||||||
"pass": "applications/php/direct"
|
"pass": "applications/php/index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ site:
|
|||||||
# The name of the theme which the composer package refers to
|
# The name of the theme which the composer package refers to
|
||||||
themeName: "mycustomer-app-theme"
|
themeName: "mycustomer-app-theme"
|
||||||
|
|
||||||
|
# If needed, force a change of the theme folder name to conform with site requirements
|
||||||
|
# forceThemeName: ""
|
||||||
|
|
||||||
# Optional: Import content to wp-content directory from zip file
|
# Optional: Import content to wp-content directory from zip file
|
||||||
content: {}
|
content: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user