Sha256: 9fb134a01ee09530a69cb3f437fe3ab121db5d0c6215e0e8cfe47f566c9dfb60
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
#!/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 # Add the git remote if it doesn't exist git remote | grep heroku-docs || { git remote add heroku-docs git@heroku.com:vagrantup-docs.git } # Push the subtree (force) git push heroku-docs `git subtree split --prefix website/docs master`:master --force
Version data entries
4 entries across 1 versions & 1 rubygems