Release: dev to main #7

Merged
devadmin merged 31 commits from dev into main 2026-10-15 18:01:36 -06:00
Showing only changes of commit 2df140a3c1 - Show all commits
+6
View File
@@ -38,6 +38,12 @@ fi
# failure must stop the deploy rather than silently dropping that channel. # failure must stop the deploy rather than silently dropping that channel.
code="$(curl -sS -o "$out/$other/latest.json" -w '%{http_code}' "$base/$other/latest.json" || true)" code="$(curl -sS -o "$out/$other/latest.json" -w '%{http_code}' "$base/$other/latest.json" || true)"
: "${code:=000}" : "${code:=000}"
# Cloudflare error 1014 (403 + "error code: 1014") means the domain's CNAME
# points at a Pages project that does not exist yet, so there is nothing to
# preserve — the same as a 404, and what a push-triggered first deploy sees.
if [ "$code" = 403 ] && grep -q 'error code: 1014' "$out/$other/latest.json" 2>/dev/null; then
code=404
fi
if [ "$code" = 404 ]; then if [ "$code" = 404 ]; then
echo "No $other channel published yet; skipping." echo "No $other channel published yet; skipping."
rm -rf "$out/$other" rm -rf "$out/$other"