Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make `deploy run` default to the current deploy directory. #12

Merged
merged 1 commit into from

2 participants

@bronson

This allows things like 'deploy run rake db:migrate' or 'deploy run npm update' work the way one would probably expect.

@bronson bronson Make `deploy run` default to the current deploy directory.
This allows things like 'deploy run rake db:migrate' or 'deploy run npm update' work the way one would probably expect.
8498502
@tj tj merged commit a72fee0 into visionmedia:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 18, 2012
  1. @bronson

    Make `deploy run` default to the current deploy directory.

    bronson authored
    This allows things like 'deploy run rake db:migrate' or 'deploy run npm update' work the way one would probably expect.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/deploy
View
2  bin/deploy
@@ -340,7 +340,7 @@ while test $# -ne 0; do
-c|--config) set_config_path $1; shift ;;
-C|--chdir) log cd $1; cd $1; shift ;;
-T|--no-tests) TEST=0 ;;
- run|exec) require_env; run "cd `config_get path` && $@"; exit ;;
+ run|exec) require_env; run "cd `config_get path`/current && $@"; exit ;;
console) require_env; console; exit ;;
curr|current) require_env; current_commit; exit ;;
prev|previous) require_env; nth_deploy_commit 2; exit ;;
Something went wrong with that request. Please try again.