Break out of 'mfpub' if 'gh-pages' checkout fails
This commit is contained in:
parent
56150ec030
commit
8ab1c16ebd
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ git reset --hard
|
|||
git clean -d -f
|
||||
|
||||
# Copy built-site into the gh-pages branch
|
||||
git checkout gh-pages
|
||||
git checkout gh-pages || { echo "Something went wrong!"; exit 1; }
|
||||
rsync -av ${TMPFOLDER}/ ./
|
||||
|
||||
# Commit and push the new live site directly
|
||||
|
|
Reference in a new issue