Skip to content

updates citation to 2ed #1197

updates citation to 2ed

updates citation to 2ed #1197

Workflow file for this run

on:
push:
branches:
main
name: Render
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 'install.packages("remotes")'
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
#Rscript -e 'install.packages("geocompkg", repos = c("https://geocompr.r-universe.dev", "https://cloud.r-project.org"), dependencies = TRUE, force = TRUE)'
Rscript -e 'bookdown::render_book("index.Rmd")'
cp -fvr _redirects _book/
cp -fvr .htaccess _book/
#cp -fvr es.html fr.html solutions.html htaccess.txt _book/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book
publish_branch: gh-pages
commit_message: 'Deploy commit: ${{ github.event.head_commit.message }}'