From d35a882d8b8870c4c770b40e66ba33ffded8b339 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Thu, 23 Mar 2023 15:35:07 -0400 Subject: [PATCH] Scope update invoke to project level. --- deployment/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/update.sh b/deployment/update.sh index 54c1fbb..3f464fe 100755 --- a/deployment/update.sh +++ b/deployment/update.sh @@ -113,7 +113,7 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do cd - # run deploy which backups up everything, but doesnt restart any services. - bash -c "./project/deploy.sh --stop --no-cert-renew --backup-archive-path=$BTCPAY_RESTORE_ARCHIVE_PATH" + bash -c "./project/deploy.sh --project=$PROJECT_NAME --stop --no-cert-renew --backup-archive-path=$BTCPAY_RESTORE_ARCHIVE_PATH" # call the destroy script. If user proceed, then user data is DESTROYED! ./destroy.sh @@ -125,6 +125,6 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do cd - # Then we can run a restore operation and specify the backup archive at the CLI. - bash -c "./project/deploy.sh -y --restore-www --restore-btcpay --backup-archive-path=$BTCPAY_RESTORE_ARCHIVE_PATH" + bash -c "./project/deploy.sh --project=$PROJECT_NAME -y --restore-www --restore-btcpay --backup-archive-path=$BTCPAY_RESTORE_ARCHIVE_PATH" done \ No newline at end of file