update deploy.sh
This commit is contained in:
parent
0e9122c1cc
commit
19caf1ac5b
@ -19,7 +19,7 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup_gh() {
|
setup_gh() {
|
||||||
if git show-ref --verify --quiet "refs/heads/$PAGES_BRANCH"; then
|
if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
|
||||||
git checkout -b "$PAGES_BRANCH"
|
git checkout -b "$PAGES_BRANCH"
|
||||||
else
|
else
|
||||||
git checkout "$PAGES_BRANCH"
|
git checkout "$PAGES_BRANCH"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user