Skip to content

Commit

Permalink
any any changes within docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bburns632 committed Apr 16, 2024
1 parent 11b8707 commit 7ac8911
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:
- name: Build Site
run: pkgdown::build_site()
shell: Rscript {0}
- name: Commit and push changes for review
- name: Commit and push changes for review in new PR off main
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add man/\* NAMESPACE DESCRIPTION
git commit -m "Update documentation" || echo "No changes to commit"
git pull --ff-only
git push origin
BRANCH=$(docs_update_${GITHUB_BASE_REF}_${GITHUB_SHA})
git checkout -b $BRANCH
git add docs/\*
git commit -m "Update website documentation" || echo "No changes to commit"
git pull origin main --ff-only
git push origin $BRANCH

0 comments on commit 7ac8911

Please sign in to comment.