Fix build crashing when certain files unchanged

This commit is contained in:
Josh Moore 2021-08-07 17:06:49 -07:00 committed by GitHub
parent 14196467e0
commit 4f91157c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}}
REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET}}