Skip to content

Commit

Permalink
Get git statuses [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Sep 26, 2024
1 parent 44da385 commit df9e44d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/multimake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit df9e44d

Please sign in to comment.