Running cap deploy
returns the error
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
failed: "env PATH=$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH sh -c 'if [ -d .../shared/cached-copy ]; then cd .../shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard e54354271256196e54354271256196 && git clean -q -d -x -f; else git clone -q -b new_front [email protected]:myapp.git .../shared/cached-copy && cd /shared/cached-copy && git checkout -q -b deploy ced405a4d2b184ccadf844185e54354271256196; fi'" on 192.111.111.111
but when i ssh to the server and run that exact command it works.
I've tried deleting the cached-copy
and commenting set :deploy_via, "remote_cache"
as mentioned in Cap deploy - ERROR: Repository not found but nothing works.
thanks
EDIT:
Similar issue: https://gist.github.com/ParkinT/2432735
I had to run:
ssh-add
to add my identity to the authentication agent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With