deploy: create Codeberg issue when deploy fails and main is unchanged

If the last deploy failed and origin/main has not advanced, opens a
Prio/High + State/Ready issue via tea with the failing SHA, commit link,
and captured deploy output. Skips duplicate issues (tracked by
.last_issue_sha). Cron interval changed to */5.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-23 11:24:21 +02:00
co-authored by Claude Sonnet 4.6
parent 8d49a6b267
commit c259d2dabe
2 changed files with 88 additions and 4 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ set -a
source "$REPO_DIR/.env"
set +a
# Add task and dagger from nix store if not already in PATH
# Add nix profile and nix store tools (task, dagger) to PATH
export PATH="$HOME/.nix-profile/bin:$PATH"
for pkg in "*go-task-*/bin/task" "*dagger-*/bin/dagger"; do
bin=$(ls -d /nix/store/$pkg 2>/dev/null | sort -V | tail -1)
[ -n "$bin" ] && export PATH="$(dirname "$bin"):$PATH"