Skip to content

Commit 1417256

Browse files
committed
Fix
1 parent ab45319 commit 1417256

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/multimake.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",
5555
has_branch = false
5656

5757
if !success(`git switch --orphan $branch`)
58-
@error "Cannot create new orphaned branch $outbranch."
58+
@error "Cannot create new orphaned branch $branch."
5959
exit(1)
6060
end
6161
end
@@ -66,13 +66,13 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",
6666
rm(file; force=true, recursive=true)
6767
end
6868

69-
mkpath(path) # creates if not exists
69+
# mkpath(path) # creates if not exists
7070

7171
for file in readdir(path)
7272
cp(joinpath(path, file), joinpath(root_path, file))
7373
end
7474

75-
run(`git add --all`)
75+
run(`git add .`)
7676

7777
if success(`git commit -m 'Aggregate documentation'`)
7878
@info "Pushing updated documentation"
@@ -91,7 +91,7 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",
9191
return nothing
9292
end
9393

94-
build_path = joinpath(@__DIR__, "build")
94+
build_path = mktempdir()
9595

9696
buildmultidocs(build_path, docs)
9797

0 commit comments

Comments
 (0)