Skip to content

Commit

Permalink
fix: also update the activate.R when renv package gets updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Oct 17, 2023
1 parent cc7c2f0 commit 9d24030
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
)
- name: Commit updated renv.lock file
continue-on-error: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
Expand All @@ -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 }}
Expand Down

0 comments on commit 9d24030

Please sign in to comment.