From aa45f8f890f34a3e902b79542f90cca9f16ce7f7 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Sat, 3 Oct 2020 08:22:25 -0500 Subject: [PATCH] Switch to GitHub actions --- .Rbuildignore | 1 + .github/.gitignore | 1 + .travis.yml | 22 ---------------------- 3 files changed, 2 insertions(+), 22 deletions(-) create mode 100644 .github/.gitignore delete mode 100644 .travis.yml diff --git a/.Rbuildignore b/.Rbuildignore index 112ad26..65cc072 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ ^.*\.Rproj$ ^\.Rproj\.user$ ^\.travis\.yml$ +^\.github$ diff --git a/.github/.gitignore b/.github/.gitignore new file mode 100644 index 0000000..2d19fc7 --- /dev/null +++ b/.github/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8dff579..0000000 --- a/.travis.yml +++ /dev/null @@ -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