fix: initialize arrays for seen stacks and stacks to deploy
All checks were successful
Auto-Deploy Changed Stacks / deploy (push) Successful in 13s

This commit is contained in:
Nathan 2026-06-02 12:39:49 -04:00
parent 2466972389
commit 2cf002ed3e

View File

@ -41,8 +41,8 @@ jobs:
# Parse changed paths → extract {node} and {stack} # Parse changed paths → extract {node} and {stack}
# Expected pattern: nodes/{node}/{stack}/... # Expected pattern: nodes/{node}/{stack}/...
# --------------------------------------------------------------- # ---------------------------------------------------------------
declare -A SEEN_STACKS declare -A SEEN_STACKS=()
declare -a STACKS_TO_DEPLOY declare -a STACKS_TO_DEPLOY=()
while IFS= read -r filepath; do while IFS= read -r filepath; do
[[ -z "$filepath" ]] && continue [[ -z "$filepath" ]] && continue