We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b8bfdf commit 5b39187Copy full SHA for 5b39187
1 file changed
docs/make.jl
@@ -94,5 +94,12 @@ makedocs(;
94
deploydocs(;
95
repo = "github.com/NumericalMathematics/Ariadne.jl.git",
96
devbranch = "main",
97
- push_preview = true,
+ # Only push previews if all the relevant environment variables are non-empty.
98
+ push_preview = all(
99
+ !isempty,
100
+ (
101
+ get(ENV, "GITHUB_TOKEN", ""),
102
+ get(ENV, "DOCUMENTER_KEY", ""),
103
+ )
104
105
)
0 commit comments