update deploy.sh
This commit is contained in:
		| @@ -23,10 +23,7 @@ build() { | |||||||
|  |  | ||||||
| setup_gh() { | setup_gh() { | ||||||
|   # Delete the branch if it exists, and create a new one |   # Delete the branch if it exists, and create a new one | ||||||
|   if git branch --list "$PAGES_BRANCH" > /dev/null; then |  | ||||||
|     echo "Branch '$PAGES_BRANCH' exists. Deleting and recreating it..." |  | ||||||
|   git branch -D "$PAGES_BRANCH" |   git branch -D "$PAGES_BRANCH" | ||||||
|   fi |  | ||||||
|  |  | ||||||
|   # Create and switch to the new branch |   # Create and switch to the new branch | ||||||
|   git checkout -b "$PAGES_BRANCH" |   git checkout -b "$PAGES_BRANCH" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user