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

moonming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f85317426d fix(ci): check a generated blog Markdown twin (#2084)
6f85317426d is described below

commit 6f85317426d2387238e5da8134ed446f2275e86e
Author: Ming Wen <[email protected]>
AuthorDate: Tue Jul 28 16:51:12 2026 +0800

    fix(ci): check a generated blog Markdown twin (#2084)
    
    * fix(ci): check a generated blog Markdown twin
    
    * fix(ci): require a regular blog twin file
---
 .github/workflows/deploy.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 974852f5661..b11b16d6d06 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -417,7 +417,10 @@ 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.
+          blog_post_twin=$(find website/build/blog -mindepth 2 -type f -name 
index.md -print -quit)
+          test -n "$blog_post_twin"
           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