Skip to content
This repository
tag: v4.11.3
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.528 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash
echo
echo "Don't forget to run"
echo "cd web; bundle exec middleman build; cd .."

git checkout gh-pages # switch to gh-pages branch

git checkout master -- web/build # checkout just the web/build folder from master
cp -r web/build/* . # TODO Make elegant
git add . # commit the changes
git commit -m "Picky website update" # commit the changes
git push origin gh-pages #

git checkout master # go back to the master branch
Something went wrong with that request. Please try again.