tobous opened a new pull request #26:
URL: https://github.com/apache/db-jdo-site/pull/26


   Adjusts the deploy action to only try to commit and push if there are
   any staged changes. This avoids the action "failing" if there is nothing
   to commit.
   
   This explicitly fixes the use-case of re-triggering an already successful 
action run. When there is nothing to commit, the "Publish Results" step is 
skipped, which is also shown in the action log. This makes it immediately 
apparent that the job ran successfully but did not deploy any changes to the 
site branch (see [example 
run](https://github.com/tobous/db-jdo-site/runs/1864040848).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to