Skip to content

Merge branch 'main' of https://github.com/IRSN/NaturalHazards #1

Merge branch 'main' of https://github.com/IRSN/NaturalHazards

Merge branch 'main' of https://github.com/IRSN/NaturalHazards #1

Workflow file for this run

on:
push:
paths-ignore:
- '_site/**'
name: Render & Deploy Site
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-pandoc@master
- name: Install dependencies
run: |
install.packages("rmarkdown")
install.packages("devtools")
shell: Rscript {0}
- 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"