From aeac252491f16f57bf4839dc9aaf6afcf5214220 Mon Sep 17 00:00:00 2001 From: knight Date: Wed, 31 Dec 2025 20:12:13 -0500 Subject: [PATCH] Deploy all stacks on dev --- .gitea/workflows/deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a981a94..1037717 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,9 +22,14 @@ jobs: - name: Find and deploy changed stacks env: DOMAIN: ${{ secrets.DOMAIN }} + DEPLOY_ALL: "1" run: | - # Find changed stacks - STACKS=$(git diff --name-only HEAD~1 HEAD 2>/dev/null | grep '^stacks/' | cut -d'/' -f2 | sort -u || echo "") + if [ "$DEPLOY_ALL" = "1" ]; then + STACKS=$(ls stacks/) + else + # Find changed stacks + STACKS=$(git diff --name-only HEAD~1 HEAD 2>/dev/null | grep '^stacks/' | cut -d'/' -f2 | sort -u || echo "") + fi if [ -z "$STACKS" ]; then echo "No stacks changed, deploying all..."