ソースを参照

[travis] log which branch, push pkgdown if dev

tags/v0.3.0
コミット
059bea7899
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      tic.R

+ 2
- 1
tic.R ファイルの表示



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()
} }

読み込み中…
キャンセル
保存