Sha256: 246fd37122e7fa9e908998e7741e4035ed4c2f4a784f34cfce305688af1cde5e

Contents?: true

Size: 394 Bytes

Versions: 9

Compression:

Stored size: 394 Bytes

Contents

#!bin/bash
if [ ! -d 'deploy.git' ]; then
  mkdir deploy.git && cd deploy.git
  git init --bare
  echo '#!/bin/sh' > hooks/post-receive
  echo 'while read oldrev newrev ref' >> hooks/post-receive
  echo 'do' >> hooks/post-receive
  echo 'GIT_WORK_TREE=.. git checkout -f -B `basename "$ref"` "$newrev"' >> hooks/post-receive
  echo 'done' >> hooks/post-receive
  chmod +x hooks/post-receive
fi

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pave-0.16.0 resources/deploy.sh
pave-0.15.0 resources/deploy.sh
pave-0.14.2 resources/deploy.sh
pave-0.14.1 resources/deploy.sh
pave-0.14.0 resources/deploy.sh
pave-0.13.0 resources/deploy.sh
pave-0.12.0 resources/deploy.sh
pave-0.11.2 resources/deploy.sh
pave-0.11.1 resources/deploy.sh