Skip to content

Commit f3d8fd3

Browse files
committed
try again
1 parent 8aaaa2b commit f3d8fd3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/make.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@ MultiDocumenter.make(
3939
)
4040

4141
gitroot = normpath(joinpath(@__DIR__, ".."))
42-
try
43-
run(`git checkout gh-pages`)
44-
catch err
45-
# branch probably doesn't exist
46-
run(`git checkout -b gh-pages`)
47-
end
42+
run(`git pull`)
43+
# we expect gh-pages to already be set up
44+
run(`git checkout gh-pages`)
4845
for file in readdir(gitroot; join = true)
4946
endswith(file, ".git") && continue
5047
rm(file; force = true, recursive = true)

0 commit comments

Comments
 (0)