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

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit 9648fdc4a4ec27925af9e87c5b9f19d1273b39e0
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Wed Sep 27 09:52:48 2023 +0200

    Avoid deploying empty website directories
---
 .github/workflows/deploy-release-reusable.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/deploy-release-reusable.yaml 
b/.github/workflows/deploy-release-reusable.yaml
index 858a3f6..bed8833 100644
--- a/.github/workflows/deploy-release-reusable.yaml
+++ b/.github/workflows/deploy-release-reusable.yaml
@@ -151,6 +151,7 @@ jobs:
             --non-recursive \
             site
           cd target/site
+          find . -empty -type -d -delete
           find . -print0 | xargs -0 touch -d 1970-01-01T00:00:00Z
           find . -print0 | sort --zero-terminated | xargs -0 zip -oX 
../site.zip
 

Reply via email to