From b3c3be4df1d452a5a2be3b490a431c1e218be0b4 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Tue, 4 Apr 2023 11:09:35 -0400 Subject: [PATCH] Update clams. --- www/go.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/www/go.sh b/www/go.sh index 2f994e8..38ef5d1 100755 --- a/www/go.sh +++ b/www/go.sh @@ -10,6 +10,7 @@ export DOCKER_HOST="$DOCKER_HOST" # Create the nginx config file which covers all domainys. bash -c ./stub/nginx_config.sh +BUILD_CLAMS=false for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do export DOMAIN_NAME="$DOMAIN_NAME" export SITE_PATH="$SITES_PATH/$DOMAIN_NAME" @@ -19,6 +20,10 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do source "$SITE_PATH/site.conf" source ../domain_env.sh + if [ "$DEPLOY_CLAMS" = true ]; then + BUILD_CLAMS=true + fi + ### Let's check to ensure all the requiredsettings are set. if [ "$DEPLOY_GHOST" = true ]; then if [ -z "$GHOST_MYSQL_PASSWORD" ]; then @@ -65,12 +70,6 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do exit 1 fi - # prepare clams images and such - if [ "$DEPLOY_CLAMS" = true ]; then - echo "" - ./clams/build.sh - fi - done ./stop_docker_stacks.sh