From 9d240302d525b02558ffc04e1df6a45da459ed52 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 17 Oct 2023 14:13:10 +0530 Subject: [PATCH] fix: also update the activate.R when renv package gets updated --- .github/workflows/deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 934ddc8f..b372bbf7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -156,6 +156,7 @@ jobs: ) - name: Commit updated renv.lock file + continue-on-error: true run: | git config --global user.email "action@github.com" git config --global user.name "GitHub Action" @@ -166,6 +167,7 @@ jobs: git pull git stash apply git add ${{ matrix.directory }}/renv.lock + git add ${{ matrix.directory }}/renv/activate.R if [ -n "$(git diff --staged)" ]; then git commit -m "[skip deploy] Update renv.lock file for ${{ matrix.directory }} app" git push origin ${{ env.BRANCH_NAME }}