From 5315513cf9280c8fc79d9a7f536d1cb3e5ac479c Mon Sep 17 00:00:00 2001 From: dnoneill Date: Thu, 23 Mar 2023 16:39:37 -0400 Subject: [PATCH] fix commit error --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4739e1a..9f217b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: git config --local user.name "GitHub Action" git config pull.rebase false git add src/data - git commit -m "update data folder" + git commit -m "update data folder" || echo "No changes to commit" - name: push changes uses: ad-m/github-push-action@v0.6.0 with: @@ -43,7 +43,7 @@ jobs: git config --local user.name "GitHub Action" git config pull.rebase false git --work-tree dist add --all - git --work-tree dist commit -m "update gh-pages site" + git --work-tree dist commit -m "update gh-pages site" || echo "No changes to commit" # Runs a set of commands using the runners shell - name: push changes uses: ad-m/github-push-action@v0.6.0