Skip to content
Snippets Groups Projects
Commit 8ab1c16e authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Break out of 'mfpub' if 'gh-pages' checkout fails

parent 56150ec0
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment