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:
co-authored by
Claude Sonnet 4.6
parent
8d49a6b267
commit
c259d2dabe
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user