add html back in to sync (since Actions now working) #121
  
    
      This file contains hidden or 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
    
  
  
    
  | on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| name: bookdown | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| RENV_PATHS_ROOT: ~/.local/share/renv | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| - name: Setup R | |
| uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: '4.1.2' | |
| - name: Install pandoc and gdal dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y pandoc | |
| sudo apt-get install -y pandoc-citeproc | |
| - uses: r-lib/actions/setup-renv@v2 | |
| - name: Build site | |
| run: Rscript -e 'bookdown::render_book("index.Rmd", quiet = TRUE)' | |
| - name: Deploy to GitHub pages | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: docs |