deploy.sh (view raw)
1 2 3 4 5 6 7 8
#!/usr/bin/env bash if [ -z "$1" ] then echo "no folder mentioned :v" exit 1 fi git subtree push --prefix $1 origin gh-pages