Skip to content

Commit 7964b1f

Browse files
committed
build docs only for tags
1 parent 326d75a commit 7964b1f

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

3-
if (Sys.getenv("id_rsa") != "") {
3+
if (Sys.getenv("id_rsa") != "" && ci()$is_tag()) {
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)