Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 9 lines (8 sloc) 171 Bytes
#!/bin/bash
set -euo pipefail
if [ -z "$1" ]
then
echo "Which folder do you want to deploy to GitHub Pages?"
exit 1
fi
git subtree push --prefix "$1" origin gh-pages