Sha256: b67eace9e0872e0180fa80eb4ee4efed93c8e9dbf40aeb618b33a7289d426fa7

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

#! /bin/sh

set -e

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

# Delete existing gh-pages branch
if [ `git branch --list gh-pages `]
then
  git branch -D gh-pages
fi

git checkout -b gh-pages
rake generate_preview
git add .
git commit -am 'deploy preview'
git push origin gh-pages --force
git checkout master

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
palat-0.1.1 script/deploy
palat-0.1.0 script/deploy
dvl-color-0.0.4 script/deploy
dvl-color-0.0.3 script/deploy
dvl-color-0.0.2 script/deploy