Sha256: 1d9cd96d1eb16ab24d5d48106fe0a83920f0637655500ad2b39a037f0a79307b
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
#!/bin/sh # Run this script to deploy the app to Github Pages. set -e if [ -z "$1" ] then echo 'Usage: bin/deploy "{commit message}"' exit 1 fi if [ `git branch | grep gh-pages` ] then git branch -D gh-pages fi git checkout -b gh-pages bower install bundle exec jekyll build --destination _site mkdir tmp cp -a _site/ tmp cp -a .gitignore tmp cp -R .git tmp find . -maxdepth 1 ! -name 'tmp' -exec rm -rf {} \; cp -a tmp/. . rm -Rf tmp git add -fA git commit -m "$1" git push -f origin gh-pages git checkout - bower install
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kickster-0.2.0 | template/bin/deploy |
kickster-0.1.2 | template/bin/deploy |
kickster-0.1.1 | template/bin/deploy |
kickster-0.1.0 | template/bin/deploy |