You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect frontmatter diffs in changed docs pages and send frontmatterChanged
to markdown revalidation once per run. Fail the workflow when reindex was
requested but not successfully triggered.
Made-with: Cursor
REINDEX_ERROR=$(jq -r '.reindexTriggered.error // "Reindex trigger failed or was not returned by API"' response.json 2>/dev/null || echo "Unable to parse reindex response")
153
+
echo "::error::Reindex requested but not triggered: $REINDEX_ERROR"
154
+
else
155
+
echo "✅ Reindex workflow trigger acknowledged"
156
+
fi
157
+
fi
158
+
105
159
if [ $((i + BATCH_SIZE)) -lt "$TOTAL" ]; then
106
160
sleep 2
107
161
fi
@@ -116,4 +170,9 @@ jobs:
116
170
exit 1
117
171
fi
118
172
173
+
if [ "$REINDEX_FAILED" = "true" ]; then
174
+
echo "::error::Frontmatter changed, but reindex was not successfully triggered"
0 commit comments