Created
November 8, 2017 23:05
-
-
Save ben196888/3e77b5379a8342f3c5d620fe8abf761a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
REMOTE=${1:-'origin'} | |
echo "git fetch $REMOTE" | |
git fetch $REMOTE | |
echo "git checkout $REMOTE/master" | |
git checkout $REMOTE/master | |
echo "yarn run build" | |
yarn run build | |
echo "gh-pages -o $REMOTE -d build" | |
gh-pages -o $REMOTE -d build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment