Sha256: 16cc3ebce24bed372069caa7dab862243fda83897dabfc1586fbb5fc234c8537

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

#! /bin/sh

set -e

(git branch | grep -q '* master') || {
  echo "Only release from the master branch."
  exit 1
}

init_branch=`git rev-parse --abbrev-ref HEAD`
git branch -D gh-pages
git checkout -b gh-pages
rake generate_preview
git commit -am 'deploy preview'
git push origin gh-pages --force
git checkout $init_branch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dvl-color-0.0.1 script/deploy