Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

console command now automatically cds to the current deploy dir

  • Loading branch information...
commit 111d96d58533ef3bd91262cbaa288786d388eaeb 1 parent 009572f
@bronson authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/deploy
View
5 bin/deploy
@@ -133,9 +133,10 @@ run() {
#
console() {
+ local path="`config_get path`/current"
local shell="`ssh_command`"
- echo $shell
- exec $shell
+ echo $shell -t "cd $path; bash --login"
+ exec $shell -t "cd $path; bash --login"
}
#
Please sign in to comment.
Something went wrong with that request. Please try again.