Switch to GitHub actions

This commit is contained in:
Hadley Wickham 2020-10-03 08:22:25 -05:00
parent 2df59fd8ae
commit aa45f8f890
3 changed files with 2 additions and 22 deletions

View File

@ -1,3 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
^\.github$

1
.github/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.html

View File

@ -1,22 +0,0 @@
language: R
cache:
packages: true
directories:
- _book
addons:
apt:
packages:
- libxml2-dev
before_install:
- nvm install stable
- npm install netlify-cli -g
script:
- Rscript -e 'bookdown::render_book("index.rmd")'
deploy:
provider: script
script: netlify deploy --prod --dir _book
skip_cleanup: true