Add details of September event #120
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
# ET: modified so it is render_site instead of render | |
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
on: | |
push | |
name: render-rmarkdown | |
jobs: | |
render-rmarkdown: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
- name: Query dependencies | |
run: | | |
sudo apt-get install -y libcurl4-openssl-dev | |
sudo apt install libharfbuzz-dev libfribidi-dev libtiff5-dev | |
- uses: r-lib/actions/setup-renv@v2 | |
- name: Render Rmarkdown files | |
run: rmarkdown::render_site() | |
shell: Rscript {0} | |
- name: Deploy to GitHub pages 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
clean: false | |
branch: gh-pages | |
folder: docs |