read through ch 07 #28
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: Render-no-deploy | |
jobs: | |
bookdown: | |
name: Render-Book | |
runs-on: ubuntu-latest | |
container: geocompr/geocompr:suggests | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Render Book | |
run: | | |
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)' | |
Rscript -e 'bookdown::render_book("index.Rmd")' |