forked from ss/sovereign-stack
Rename site_definition to site.conf
This commit is contained in:
parent
afa6c530ff
commit
180cd1fa8d
@ -17,7 +17,8 @@ if [ ! -f "$PROJECT_DEFINITION_PATH" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
source "$PROJECT_DEFINITION_PATH"
|
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
|
if [ ! -f "$PRIMARY_SITE_DEFINITION_PATH" ]; then
|
||||||
echo "ERROR: the site definition does not exist."
|
echo "ERROR: the site definition does not exist."
|
||||||
|
@ -51,7 +51,7 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
|
|||||||
|
|
||||||
# source the site path so we know what features it has.
|
# source the site path so we know what features it has.
|
||||||
source ../defaults.sh
|
source ../defaults.sh
|
||||||
source "$SITE_PATH/site_definition"
|
source "$SITE_PATH/site.conf"
|
||||||
source ./project/domain_env.sh
|
source ./project/domain_env.sh
|
||||||
|
|
||||||
# now we want to switch the git HEAD of the project subdirectory to the
|
# now we want to switch the git HEAD of the project subdirectory to the
|
||||||
|
Loading…
Reference in New Issue
Block a user