From 6a17669a8e4a40a7986a8849e9424e773f48e29d Mon Sep 17 00:00:00 2001 From: Bec White Date: Thu, 9 Sep 2021 11:55:29 -0500 Subject: [PATCH] Set the site name property as part of the build installer process, so that you don't end up with 'html' when you install from within ddev. --- defaults.yml | 5 +++-- defaults/install/the-build/build.yml | 2 ++ targets/install.xml | 5 +++++ targets/the-build.xml | 5 ++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/defaults.yml b/defaults.yml index 1823997f..79c45968 100644 --- a/defaults.yml +++ b/defaults.yml @@ -53,8 +53,9 @@ drupal: dir: default # REQUIRED: Your site's URI; the default should be the URI of your local - # development environment. - uri: "https://${projectname}.ddev.site" + # development environment. This must be present in your + # .the-build/build.yml file. +# uri: "https://${projectname}.ddev.site" # Customizing the following values is OPTIONAL. If these values are not # explicitly configured, they will be set in the-build.xml based on the diff --git a/defaults/install/the-build/build.yml b/defaults/install/the-build/build.yml index e50c19cc..29486bb0 100644 --- a/defaults/install/the-build/build.yml +++ b/defaults/install/the-build/build.yml @@ -5,6 +5,8 @@ # found in the-build's repository. # @see https://github.com/palantirnet/the-build/blob/release-2.0/defaults.yml +projectname: ${projectname} + # These properties are used when building the settings.php and settings.yml for your # Drupal site, and by some of the targets in the default build.xml file. # @see .the-build/drupal/services.build.yml diff --git a/targets/install.xml b/targets/install.xml index 84479d7f..3796640e 100644 --- a/targets/install.xml +++ b/targets/install.xml @@ -44,7 +44,12 @@ + + + + + diff --git a/targets/the-build.xml b/targets/the-build.xml index 53e0038f..da0a7e57 100644 --- a/targets/the-build.xml +++ b/targets/the-build.xml @@ -34,9 +34,6 @@ - - - @@ -87,6 +84,8 @@ + +