Switch to GitHub actions
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
^.*\.Rproj$
|
||||
^\.Rproj\.user$
|
||||
^\.travis\.yml$
|
||||
^\.github$
|
||||
|
||||
1
.github/.gitignore
vendored
Normal file
1
.github/.gitignore
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user