This is an automated email from the ASF dual-hosted git repository.

moonming pushed a commit to branch fix/astro-blog-markdown-twin-check
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit a78ee3decf418ba880642227fb8f76f2d4dd7795
Author: Ming Wen <[email protected]>
AuthorDate: Tue Jul 28 15:43:56 2026 +0800

    fix(ci): check a generated blog Markdown twin
---
 .github/workflows/deploy.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 974852f5661..421b66e6946 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -417,7 +417,9 @@ jobs:
           # The agent index lives at the site root (the wave-1/2 subtrees carry
           # their own Markdown twins along with the cp -R above).
           cp next/dist/llms.txt website/build/llms.txt
-          test -f website/build/blog/index.md
+          # Section landing pages have no Markdown source; require a real post
+          # twin instead of the deliberately absent /blog/index.md.
+          test -n "$(find website/build/blog -mindepth 2 -name index.md -print 
-quit)"
           test -f website/build/docs/apisix/plugins/cors/index.md
           grep -q 'index.md' website/build/llms.txt
           test -f website/build/img/integrations/icon-prometheus.svg

Reply via email to