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
commit a030ccbe25b7f336226f9dd04835373cdf242c29 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Sun Apr 13 20:51:12 2025 +0200 don't fail if nothing to commit --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 490e773..8c1552b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,5 +53,7 @@ jobs: echo "Running git add" git add . echo "Running git commit" - git commit -m "Regenerated website based on ${GITHUB_SHA} commit" - git push origin asf-site + if git commit -m "Regenerated website based on ${GITHUB_SHA} commit" + then + git push origin asf-site + fi