-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |