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 5eff576  ATTIC-240 detect deleted files
5eff576 is described below

commit 5eff5763c80dcfdd4152b7d714909a3e6bee15b7
Author: Hervé Boutemy <hbout...@apache.org>
AuthorDate: Tue Apr 15 08:20:09 2025 +0200

    ATTIC-240 detect deleted files
    
    fixes #2
---
 .github/workflows/build.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c638039..a6d6b4b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -42,6 +42,7 @@ jobs:
           path: docs
       - name: 🔧 Build site
         run: |
+          rm -rf docs/*
           ./build.sh
       - name: 🚀 Add commit to the asf-site
         if: ${{ github.event_name == 'push' }}
@@ -50,8 +51,8 @@ jobs:
           echo "Running git config"
           git config user.name "GitHub Actions"
           git config user.email "acti...@users.noreply.github.com"
-          echo "Running git add"
-          git add .
+          echo "Running git add -A"
+          git add -A .
           echo "Running git commit"
           if git commit -m "Regenerated website based on ${GITHUB_SHA} commit"
           then

Reply via email to