diff --git a/tools/deploy.sh b/tools/deploy.sh index 14b88eb5391..5baba008cf8 100755 --- a/tools/deploy.sh +++ b/tools/deploy.sh @@ -77,7 +77,7 @@ setup_gh() { _no_pages_branch=true git checkout -b "$PAGES_BRANCH" else - git checkout "$PAGES_BRANCH" + git checkout -f "$PAGES_BRANCH" fi }