Explorar el Código

[travis] log which branch, push pkgdown if dev

tags/v0.3.0
Garrick Aden-Buie hace 6 años
padre
commit
059bea7899
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      tic.R

+ 2
- 1
tic.R Ver fichero



if (tic::ci_on_travis() && tic::ci_has_env("BUILD_PKGDOWN")) { if (tic::ci_on_travis() && tic::ci_has_env("BUILD_PKGDOWN")) {
# creates pkgdown site and pushes to gh-pages branch # creates pkgdown site and pushes to gh-pages branch
message("Branch is: ", tic::ci_get_branch())
if (tic::ci_get_branch() == "dev") { if (tic::ci_get_branch() == "dev") {
tic::do_pkgdown(deploy = tic::ci_can_push())
tic::do_pkgdown(deploy = TRUE)
} else { } else {
tic::do_pkgdown() tic::do_pkgdown()
} }

Cargando…
Cancelar
Guardar