This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 41d94d9 Allow for no change
41d94d9 is described below
commit 41d94d9337811d6592a256befa658b0bbb9a880c
Author: Sebb <[email protected]>
AuthorDate: Fri May 10 23:17:04 2024 +0100
Allow for no change
---
.github/workflows/build-site.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml
index e3860fe..f0696c4 100644
--- a/.github/workflows/build-site.yml
+++ b/.github/workflows/build-site.yml
@@ -27,7 +27,10 @@ jobs:
git config --global user.name "Ponymail PPMC"
git status
git add content
- git commit -m "Commit build products"
- git push
- # env: # for gh
- # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ if git commit -m "Commit build products"
+ then
+ git push
+ else
+ echo "No change"
+ true # ensure step is successful
+ fi