Skip to content

Commit 50453cb

Browse files
committed
oops
1 parent 4118620 commit 50453cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tic.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_package_checks(notes_are_errors = getRversion() >= "3.2")
22

3-
if (Sys.getenv("id_rsa") != "" && ci()$get_branch("master") && Sys.getenv("BUILD_PKGDOWN") != "") {
3+
if (Sys.getenv("id_rsa") != "" && ci()$get_branch() == "master" && Sys.getenv("BUILD_PKGDOWN") != "") {
44
# pkgdown documentation can be built optionally. Other example criteria:
55
# - `inherits(ci(), "TravisCI")`: Only for Travis CI
66
# - `ci()$is_tag()`: Only for tags, not for branches

0 commit comments

Comments
 (0)