From 79485898cf7df5b13e081e71bded1764530e48e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Sun, 3 May 2026 14:17:22 +0100 Subject: [PATCH] fix(ci): force fresh build on web deploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Coolify's last deploy reused the cached image — the new /api/cli/meshes/[slug] route never made it into .next/server. Adding force=true to the deploy API call so Coolify rebuilds from the current commit instead of replaying the cache. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/deploy-web.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index dafbcea..c3bf18d 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -59,7 +59,7 @@ jobs: exit 1 fi response=$(curl -sS -w "\n%{http_code}" -X GET \ - "http://100.122.34.28:8000/api/v1/deploy?uuid=${APP_UUID}" \ + "http://100.122.34.28:8000/api/v1/deploy?uuid=${APP_UUID}&force=true" \ -H "Authorization: Bearer ${COOLIFY_TOKEN}") status=$(echo "$response" | tail -n1) body=$(echo "$response" | sed '$d')