From 2cf002ed3eacd097727ce5552f2bcb78c8336715 Mon Sep 17 00:00:00 2001 From: Nathan Date: Tue, 2 Jun 2026 12:39:49 -0400 Subject: [PATCH] fix: initialize arrays for seen stacks and stacks to deploy --- .gitea/workflows/auto-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/auto-deploy.yml b/.gitea/workflows/auto-deploy.yml index 135c05c..1bfad6e 100644 --- a/.gitea/workflows/auto-deploy.yml +++ b/.gitea/workflows/auto-deploy.yml @@ -41,8 +41,8 @@ jobs: # Parse changed paths → extract {node} and {stack} # Expected pattern: nodes/{node}/{stack}/... # --------------------------------------------------------------- - declare -A SEEN_STACKS - declare -a STACKS_TO_DEPLOY + declare -A SEEN_STACKS=() + declare -a STACKS_TO_DEPLOY=() while IFS= read -r filepath; do [[ -z "$filepath" ]] && continue