From 07ceea4c3e499c159cbce4c7dbd9e63fe1b5fcac Mon Sep 17 00:00:00 2001 From: Pedro Maciel Xavier Date: Thu, 26 Sep 2024 11:19:38 -0400 Subject: [PATCH] Retry failing command [no ci] --- docs/multimake.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/multimake.jl b/docs/multimake.jl index 2f07f7a..2d31f9e 100644 --- a/docs/multimake.jl +++ b/docs/multimake.jl @@ -60,6 +60,9 @@ function deploymultidocs( if !success(`git switch --orphan $branch`) @error "Cannot create new orphaned branch $branch." + + run(`git switch --orphan $branch`) + exit(1) end end