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

joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b52fe178 Github Actions: don't commit if no changes
b52fe178 is described below

commit b52fe17813a12582ce0755e66b88844381bae4e0
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Aug 1 10:00:02 2022 -0700

    Github Actions: don't commit if no changes
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a0fb6717..f80ebbb9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,5 +26,5 @@ jobs:
           git checkout asf-staging
           cp -a _site/. .
           git add -A
-          git commit -m "Deploy site"
+          git diff-index --quiet HEAD || git commit -m "Deploy site"
           git push origin asf-staging

Reply via email to