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

hboutemy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git


The following commit(s) were added to refs/heads/main by this push:
     new cf486eb  update cwiki-retired branch
cf486eb is described below

commit cf486eb78826065ecafdbd8229c6e0322a4213f4
Author: HervΓ© Boutemy <hbout...@apache.org>
AuthorDate: Sun Apr 20 15:57:43 2025 +0200

    update cwiki-retired branch
---
 .github/workflows/build.yml | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 685a8f6..211d0bd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,22 +30,26 @@ jobs:
       - name: πŸ—‚ Checkout
         uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # 
v3.5.3
         with:
-          submodules: recursive
-          lfs: true
           fetch-depth: 1
       - name: πŸ—‚ Checkout asf-site branch with minimum depth
         uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # 
3.5.3
-        if: ${{ github.event_name == 'push' }}
         with:
           ref: asf-site
           fetch-depth: 1
           path: asf-site
+      - name: πŸ—‚ Checkout cwiki-retired branch with minimum depth
+        uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # 
3.5.3
+        with:
+          ref: cwiki-retired
+          fetch-depth: 1
+          path: cwiki-retired
       - name: πŸ”§ Build site
         run: |
           rm -rf asf-site/output/*
           ./build.sh -Ddocs.dest=asf-site/output
-      - name: πŸš€ Add commit to the asf-site
-        if: ${{ github.event_name == 'push' }}
+          rm -rf cwiki-retired/*
+          cp cwiki_retired/* cwiki-retired
+      - name: πŸš€ Add commit to the asf-site branch
         working-directory: asf-site
         run: |
           echo "Running git config"
@@ -58,3 +62,17 @@ jobs:
           then
             git push origin asf-site
           fi
+      - name: πŸš€ Add commit to the cwiki-retired branch
+        working-directory: cwiki-retired
+        run: |
+          echo "Running git config"
+          git config user.name "GitHub Actions"
+          git config user.email "acti...@users.noreply.github.com"
+          echo "Running git add -A"
+          git add -A .
+          echo "Running git commit"
+          if git commit -m "Regenerated cwiki-retired based on ${GITHUB_SHA} 
commit"
+          then
+            git push origin cwiki-retired
+          fi
+  
\ No newline at end of file

Reply via email to