fix(ci): force fresh build on web deploy
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) <noreply@anthropic.com>
This commit is contained in:
2
.github/workflows/deploy-web.yml
vendored
2
.github/workflows/deploy-web.yml
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user