From 0944b0a81087f67e82f897b1509caa6006da4ee8 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 14:38:53 +0000 Subject: [PATCH] deploy-poll: set PATH itself; cron's has no gh Co-Authored-By: Claude Opus 5.5 --- dev2/deploy-poll.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev2/deploy-poll.sh b/dev2/deploy-poll.sh index 0824f14..a856195 100755 --- a/dev2/deploy-poll.sh +++ b/dev2/deploy-poll.sh @@ -24,6 +24,8 @@ # them as well would build every merge twice. # set -uo pipefail +# cron starts with PATH=/usr/bin:/bin, where neither gh nor the mise shims are. +export PATH="$HOME/.local/bin:$HOME/.local/share/mise/shims:/usr/local/bin:$PATH" WWW=${WWW:-/home/anthony/www} STATE_DIR=${STATE_DIR:-$HOME/.local/state/deploy-poll}