Skip to content

Commit

Permalink
adapt to new pkgdown v1.4 workflow
Browse files Browse the repository at this point in the history
see: r-lib/pkgdown#1136

and also deploy 📖 from "dev" branch
  • Loading branch information
mrustl committed Sep 9, 2019
1 parent 39f7f3c commit 31647df
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
^docs$
^_pkgdown\.yml$
^LICENSE\.md$
^.travis\.yml$
^\.travis\.yml$
^.gitlab-ci\.yml$
^appveyor\.yml$
^index\.Rmd$
^index\.md$
^README\.md$
^R/\.setup\.R$
^.*\.Rproj$
^\.Rproj\.user$

12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
##############################################################################
### Autogenerated with R package kwb.pkgbuild v0.1.1
### (installed from 'Github (kwb-r/kwb.pkgbuild@0ac3694)' source code on 2019-09-09)
### by calling the function kwb.pkgbuild::use_travis()
### (file created at: 2019-09-09 08:42:06)
##############################################################################


language: r
sudo: required
cache: packages
Expand All @@ -16,4 +24,8 @@ matrix:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: 'true'
on:
branch:
- master
- dev
- r: oldrel
2 changes: 1 addition & 1 deletion index.Rmd → index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Simple Access to Algolia Search [REST API](https://www.algolia.com/doc/rest-api/

## Installation

```{r echo = TRUE, eval = FALSE}
```r
#Sys.setenv(GITHUB_PAT = "mysecret_access_token")
#install.packages("remotes", repos = "https://cloud.r-project.org")
remotes::install_github("KWB-R/algoliar")
Expand Down

0 comments on commit 31647df

Please sign in to comment.