2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-25 05:00:32 +00:00
Mitchell Hashimoto b7fb9d530f Make websites push
2014-04-14 14:21:06 -07:00

13 lines
350 B
Bash
Executable File

#!/bin/bash
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that directory
cd $DIR
# Push the subtree (force)
git push heroku `git subtree split --prefix website master`:master --force