@@ -32,7 +32,7 @@ makedocs(
3232 format = Documenter. HTML (
3333 mathengine= mathengine,
3434 prettyurls = get (ENV , " CI" , " false" ) == " true" ,
35- canonical = " https://juliaastro.org /" ,
35+ canonical = " https://JuliaAstro.github.io /" ,
3636 assets = String[
3737 " assets/styles.css" ,
3838 " assets/favicon.ico" ,
@@ -127,8 +127,8 @@ MultiDocumenter.make(
127127 index_versions = [" stable" ],
128128 engine = MultiDocumenter. FlexSearch
129129 ),
130- rootpath = " /previews/PR43 /" ,
131- canonical_domain = " https://JuliaAstro.org /" ,
130+ rootpath = " /previews/PR44 /" ,
131+ canonical_domain = " https://JuliaAstro.github.io /" ,
132132 brand_image = MultiDocumenter. BrandImage (" ." , joinpath (" assets" , " logo.svg" )),
133133 sitemap = true ,
134134)
@@ -144,12 +144,14 @@ Downloads.download(
144144)
145145@info " Final build done"
146146
147- @info " Deploying docs"
148- deploydocs (;
149- repo = " github.com/JuliaAstro/JuliaAstro.github.io" ,
150- push_preview = true ,
151- branch = " master" ,
152- devbranch = " multidocumenter" ,
153- versions = nothing ,
154- )
155- @info " Deploy complete"
147+ if " deploy" in ARGS
148+ @info " Deploying docs"
149+ deploydocs (;
150+ repo = " github.com/JuliaAstro/JuliaAstro.github.io" ,
151+ push_preview = true ,
152+ branch = " master" ,
153+ devbranch = " multidoc-auto-highlevels" ,
154+ versions = nothing ,
155+ )
156+ @info " Deploy complete"
157+ end
0 commit comments