Sha256: cd06e61e69a25e06577e58b17cb24d94ddcb5cbce78fc22efe02064c729b3ae8
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 Bytes
Contents
#!/bin/sh if [ "$*" == "" ]; then echo "Please provide server host/ip, see: https://cloud.digitalocean.com/droplets" exit 1 fi HOST="$1" GIT_URL=$(git config --get remote.origin.url) SAFE_GIT_URL="${GIT_URL/git\@github.com\:/https://github.com/}" if (ssh root@$HOST '[ -d ~rails/rails_project ]' ); then ssh root@$HOST "bash -s" < ./bin/digital-ocean/update else ssh root@$HOST "bash -s" < ./bin/digital-ocean/setup "$SAFE_GIT_URL" "$HOST" fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
venice-chr-0.1.5 | bin/digital-ocean/deploy |