From 4f91157c154ee7e5b7078c365297cc8e045525b5 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Sat, 7 Aug 2021 17:06:49 -0700 Subject: [PATCH] Fix build crashing when certain files unchanged --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6091110..a04feeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: git add README.md git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git commit -m "Generated README.md" + git commit --allow-empty -m "Generated README.md" - name: Push uses: ad-m/github-push-action@master with: @@ -37,4 +37,4 @@ jobs: REDDIT_USER: ${{ secrets.REDDIT_USER}} REDDIT_PASS: ${{ secrets.REDDIT_PASS}} REDDIT_CLIENT_ID: ${{ secrets.REDDIT_CLIENT_ID}} - REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET}} \ No newline at end of file + REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET}}