Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (26 sloc) 0.835 kb
#!/bin/bash
# TODO Completely rewrite all.
#
echo
echo "Don't forget to run"
echo "cd web; bundle exec middleman build; cd .."
# Old picky pages.
#
git branch -D gh-pages
git checkout -b gh-pages # switch to new 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 -f origin gh-pages #
git checkout master # go back to the master branch
# New picky page.
#
cd ../pickyrb.com
cp -r ../picky/web/build/* .
git checkout master
echo 'pickyrb.com' > CNAME # Add CNAME file.
git add .
git commit -m "Picky website update"
git push origin master
cd ../picky
Jump to Line
Something went wrong with that request. Please try again.