Switch to GitHub actions
This commit is contained in:
parent
2df59fd8ae
commit
aa45f8f890
|
@ -1,3 +1,4 @@
|
|||
^.*\.Rproj$
|
||||
^\.Rproj\.user$
|
||||
^\.travis\.yml$
|
||||
^\.github$
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
*.html
|
22
.travis.yml
22
.travis.yml
|
@ -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
|
Loading…
Reference in New Issue