diff --git a/docs/multimake.jl b/docs/multimake.jl index cb654ee..a2e785d 100644 --- a/docs/multimake.jl +++ b/docs/multimake.jl @@ -51,12 +51,20 @@ function deploymultidocs( ) root_path = normpath(joinpath(@__DIR__, "..")) + run(`git status`) + run(`git pull`) + run(`git status`) + has_branch = true run(`git checkout $branch`) + run(`git status`) + + exit(1) + if !success(`git checkout $branch`) has_branch = false