Skip to content

Commit

Permalink
fight with tic
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed May 25, 2019
1 parent c80f9fc commit c9cca90
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tic.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
do_package_checks()

if (Sys.getenv("id_rsa") != "") {
# pkgdown documentation can be built optionally. Other example criteria:
# - `inherits(ci(), "TravisCI")`: Only for Travis CI
# - `ci()$is_tag()`: Only for tags, not for branches
# - `Sys.getenv("BUILD_PKGDOWN") != ""`: If the env var "BUILD_PKGDOWN" is set
# - `Sys.getenv("TRAVIS_EVENT_TYPE") == "cron"`: Only for Travis cron jobs
get_stage("before_deploy") %>%
add_step(step_setup_ssh())

get_stage("deploy") %>%
add_step(step_build_pkgdown()) %>%
add_step(step_push_deploy(path = "docs", branch = "gh-pages"))
if (ci_on_travis()) {
do_pkgdown()
}

0 comments on commit c9cca90

Please sign in to comment.