From 1cde881a273948369f21cfb511a3b96d2e22e3e9 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Mon, 13 Mar 2023 14:00:36 -0400 Subject: [PATCH 1/2] Updated remote.conf --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 6d0fd93..486e7a6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -ex cd "$(dirname "$0")" LATEST_GIT_COMMIT="$(cat ./.git/refs/heads/main)" @@ -156,7 +156,7 @@ fi # ensure our remote path is created. mkdir -p "$REMOTE_PATH" -REMOTE_DEFINITION="$REMOTE_PATH/remote_definition" +REMOTE_DEFINITION="$REMOTE_PATH/remote.conf" export REMOTE_DEFINITION="$REMOTE_DEFINITION" ######################################### From defe22876f0ea4f0344b7c58275e06fc1ccede47 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Mon, 13 Mar 2023 14:38:27 -0400 Subject: [PATCH 2/2] Update to site/project.conf --- deploy.sh | 25 +++++++++++++------------ www/stub/nostr_yml.sh | 2 +- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/deploy.sh b/deploy.sh index 486e7a6..cabc1a1 100755 --- a/deploy.sh +++ b/deploy.sh @@ -181,12 +181,13 @@ function stub_site_definition { ln -s "$SITE_PATH" "$PROJECT_PATH/sites/$DOMAIN_NAME" fi - if [ ! -f "$SITE_PATH/site_definition" ]; then + SITE_DEFINITION_PATH="$SITE_PATH/site.conf" + if [ ! -f "$SITE_DEFINITION_PATH" ]; then + # check to see if the enf file exists. exist if not. - SITE_DEFINITION_PATH="$SITE_PATH/site_definition" if [ ! -f "$SITE_DEFINITION_PATH" ]; then - # stub out a site_definition with new passwords. + # stub out a site.conf with new passwords. cat >"$SITE_DEFINITION_PATH" <"$PROJECT_DEFINITION_PATH" <