Parcourir la source

travis: deploy pkgdown if env var exists

tags/v0.3.0
Garrick Aden-Buie il y a 6 ans
Parent
révision
703765c40f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      tic.R

+ 1
- 1
tic.R Voir le fichier

@@ -1,7 +1,7 @@
# installs dependencies, runs R CMD check, runs covr::codecov()
tic::do_package_checks()

if (tic::ci_on_travis() && isTRUE(tic::ci_get_env("BUILD_PKGDOWN"))) {
if (tic::ci_on_travis() && tic::ci_has_env("BUILD_PKGDOWN")) {
# creates pkgdown site and pushes to gh-pages branch
if (tic::ci_get_branch() == "dev") {
tic::do_pkgdown(deploy = tic::ci_can_push())

Chargement…
Annuler
Enregistrer