1
1

Scope destroy to external project.

This commit is contained in:
Derek Smith 2023-03-23 18:58:46 -04:00
parent dc269fe29c
commit dc40e732ee
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -116,7 +116,7 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
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
bash -c "./destroy.sh --project=$PROJECT_NAME"
cd project/
echo "INFO: switching the 'project' repo back to the most recent commit '$TARGET_PROJECT_GIT_COMMIT'"