Rename site_definition to site.conf

This commit is contained in:
Derek Smith 2023-03-13 13:54:29 -04:00
parent afa6c530ff
commit 180cd1fa8d
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ if [ ! -f "$PROJECT_DEFINITION_PATH" ]; then
fi
source "$PROJECT_DEFINITION_PATH"
export PRIMARY_SITE_DEFINITION_PATH="$SITES_PATH/$PRIMARY_DOMAIN/site_definition"
export PRIMARY_SITE_DEFINITION_PATH="$SITES_PATH/$PRIMARY_DOMAIN/site.conf"
if [ ! -f "$PRIMARY_SITE_DEFINITION_PATH" ]; then
echo "ERROR: the site definition does not exist."

View File

@ -51,7 +51,7 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
# source the site path so we know what features it has.
source ../defaults.sh
source "$SITE_PATH/site_definition"
source "$SITE_PATH/site.conf"
source ./project/domain_env.sh
# now we want to switch the git HEAD of the project subdirectory to the