From edd2e52c4f55ca482f2973462f8cbc210a58550c Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Tue, 15 Feb 2022 19:05:14 -0500 Subject: [PATCH] Add docs handling --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0952ad6b..9014b830 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -328,8 +328,8 @@ jobs: # Start fresh and delete these files rm -rf docs/* || echo "no docs/ folder to delete" rm -rf *.rds || echo "no RDS file to delete" - git add . - git commit -m "delete docs" + git add . || echo "no files to add" + git commit -m "delete docs" || echo "no files to delete" git merge -s recursive --strategy-option=theirs origin/${{ github.head_ref }} shell: bash