Skip to content

Commit

Permalink
try JamesIves/github-pages-deploy-action
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet-irsn committed Feb 7, 2024
1 parent 71a853b commit 33cff12
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33cff12

Please sign in to comment.