feat(webhook): redeploy

This commit is contained in:
2026-03-10 21:56:24 +01:00
parent 49c86b1c85
commit 723e2a571a
18 changed files with 100 additions and 78 deletions

View File

@@ -29,7 +29,13 @@ log "Pulling latest changes from Gitea"
git pull
# -----------------------------
# 3Check for Markdown changes
# 3Redeploy changed containers
# -----------------------------
#/srv/docker/scripts/deploy-changed-containers.sh
# -----------------------------
# 4⃣ Check for Markdown changes
# -----------------------------
log "Checking for new or modified Markdown files..."
changed=$(git diff --name-status HEAD~1 HEAD | grep -E '^[AM]\s.*(\.md$|mkdocs\.yml$)' | awk '{print $2}' || true)