Browse Source

Auto-deploy pkgdown via travis

master
Lukas Burk 1 year ago
parent
commit
16faef6beb
Signed by: lukas GPG Key ID: 044E8B20BB186F81
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      .travis.yml

+ 9
- 0
.travis.yml View File

@@ -34,3 +34,12 @@ r:
- oldrel
- release
- devel

before_deploy: Rscript -e 'remotes::install_github("jemus42/pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(run_dont_run = FALSE)'
skip_cleanup: true
on:
branch: master
condition: "$TRAVIS_R_VERSION_STRING = release"

Loading…
Cancel
Save