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

davidarthur pushed a commit to branch markdown
in repository https://gitbox.apache.org/repos/asf/kafka-site.git


The following commit(s) were added to refs/heads/markdown by this push:
     new cbe4cc208 generate artifact
cbe4cc208 is described below

commit cbe4cc20807a7937a2a142dfbd6c5cebca67710d
Author: David Arthur <[email protected]>
AuthorDate: Mon Oct 27 17:21:17 2025 -0500

    generate artifact
---
 .github/workflows/build-and-deploy.yml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-and-deploy.yml 
b/.github/workflows/build-and-deploy.yml
index c27144c8a..2a08c7da2 100644
--- a/.github/workflows/build-and-deploy.yml
+++ b/.github/workflows/build-and-deploy.yml
@@ -16,7 +16,7 @@ env:
   BUILD_BRANCHES: 'markdown'
 
 jobs:
-  build-and-deploy:
+  build-html:
     runs-on: ubuntu-latest
     
     steps:
@@ -35,7 +35,20 @@ jobs:
         ls -la output/
         echo "HTML files found:"
         find output/ -name "*.html" | head -10
-    
+
+    - name: Archive HTML
+      id: archive-html
+      uses: actions/upload-artifact@v4
+      with:
+        name: html
+        path: output
+        compression-level: 9
+        if-no-files-found: error
+
+  deploy-to-staging:
+    runs-on: ubuntu-latest
+    needs: build-html
+    steps:
     - name: Configure Git
       run: |
         git config --global user.name "GitHub Actions"

Reply via email to