From 2f9d742db01ca9dbd13d1c45a86cb7bdda0a8410 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Tue, 15 Feb 2022 19:04:31 -0500 Subject: [PATCH] Update docs/ handling --- .github/workflows/pull_request.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1f87fd2f..0952ad6b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - + # Use the yaml-env-action action. - name: Load environment from YAML uses: doughepi/yaml-env-action@v1.0.0 @@ -326,9 +326,9 @@ jobs: git checkout $branch_name # Start fresh and delete these files - rm -rf docs/* *.rds - git rm docs/* - git rm *.rds + 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 merge -s recursive --strategy-option=theirs origin/${{ github.head_ref }}