Update script paths and adjust destroy order in package scripts

This commit is contained in:
geoffsee
2025-08-16 10:57:18 -04:00
parent 3a28fcc20d
commit 9bdb07fb07
3 changed files with 5 additions and 3 deletions

15
packages/scripts/destroy.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env sh
echo "WARNING: This will destroy all local deployments."
echo -n "Are you sure you want to proceed? (y/N): "
read -r response
if [[ ! "$response" =~ ^[Yy]$ ]]; then
echo "Teardown cancelled."
exit 0
fi
# Reverse Order
(cd deploy/dev/configurations && bun run destroy)
(cd deploy/dev/components && bun run destroy)
(cd deploy/dev/cluster && bun run destroy)