-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try JamesIves/github-pages-deploy-action
- Loading branch information
1 parent
71a853b
commit 33cff12
Showing
1 changed file
with
14 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 |
---|---|---|
|
@@ -29,8 +29,17 @@ jobs: | |
|
||
- name: Render Site | ||
run: Rscript -e 'rmarkdown::render_site(encoding = "UTF-8")' | ||
- name: Commit results | ||
run: | | ||
git add -A | ||
git commit -m 'Rebuild site' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
|
||
# - name: Commit results | ||
# run: | | ||
# git add -A | ||
# git commit -m 'Rebuild site' || echo "No changes to commit" | ||
# git push origin || echo "No changes to commit" | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: _site |