We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e63740 commit 25bf463Copy full SHA for 25bf463
docs/make.jl
@@ -74,4 +74,7 @@ makedocs(modules = [RootedTrees],
74
75
deploydocs(repo = "github.com/SciML/RootedTrees.jl",
76
devbranch = "main",
77
- push_preview = true)
+ # Only push previews if all the relevant environment variables are non-empty.
78
+ push_preview = all(!isempty,
79
+ (get(ENV, "GITHUB_TOKEN", ""),
80
+ get(ENV, "DOCUMENTER_KEY", ""))))
0 commit comments