Skip to content

Instantly share code, notes, and snippets.

@brookr
Created November 28, 2012 08:03
Show Gist options
  • Select an option

  • Save brookr/4159767 to your computer and use it in GitHub Desktop.

Select an option

Save brookr/4159767 to your computer and use it in GitHub Desktop.
brookr@falcon.local:~/repos/Knoq.com
(decielo-iteration-6) > cap -S branch="decielo-iteration-6" dev2 deploy
* executing `dev2'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:themightyben/Knoq.com.git decielo-iteration-6"
command finished in 2315ms
* executing "if [ -d /var/www/knoq/dev2/shared/cached-copy ]; then cd /var/www/knoq/dev2/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard e21cc32b6baefa2a62c6dd7be098eab22004e244 && git clean -d -x -f; else git clone git@github.com:themightyben/Knoq.com.git /var/www/knoq/dev2/shared/cached-copy && cd /var/www/knoq/dev2/shared/cached-copy && git checkout -b deploy e21cc32b6baefa2a62c6dd7be098eab22004e244; fi"
servers: ["23.20.247.185"]
[23.20.247.185] executing command
** [23.20.247.185 :: out] Permission denied (publickey).
** [23.20.247.185 :: out] fatal: The remote end hung up unexpectedly
command finished in 739ms
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/knoq/dev2/releases/20121128080253; true"
servers: ["23.20.247.185"]
[23.20.247.185] executing command
command finished in 436ms
failed: "sh -c 'if [ -d /var/www/knoq/dev2/shared/cached-copy ]; then cd /var/www/knoq/dev2/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard e21cc32b6baefa2a62c6dd7be098eab22004e244 && git clean -d -x -f; else git clone git@github.com:themightyben/Knoq.com.git /var/www/knoq/dev2/shared/cached-copy && cd /var/www/knoq/dev2/shared/cached-copy && git checkout -b deploy e21cc32b6baefa2a62c6dd7be098eab22004e244; fi'" on 23.20.247.185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment