From cb140385c8b87b71b56139cc7a4f2f452dd0e8c9 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 25 Jan 2025 16:26:43 -0600 Subject: [PATCH] Try and be forgiving on the git commit to allow no changes. --- .github/workflows/web-publish.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/web-publish.yml b/.github/workflows/web-publish.yml index 10387fe..ceae2f8 100644 --- a/.github/workflows/web-publish.yml +++ b/.github/workflows/web-publish.yml @@ -59,11 +59,13 @@ jobs: run: | echo "using asciidoctor ;" > project-config.jam b2 --debug-configuration -d+2 info pub - # - name: Commit Generated - # run: | - # git config user.email "ecosystemstandard@gmail.com" - # git config user.name "ecostd" - # git commit -m "Update generated information." CONTRIBUTORS.adoc + - name: Commit Generated + run: | + git config user.email "ecostd" + git config user.name "ecostd" + git add --verbose CONTRIBUTORS.adoc || exit 1 + git commit -m "Update generated information." + git push || exit 1 - name: Setup Pages uses: actions/configure-pages@main - name: Upload artifact