When I deploy by hand I ssh into my server and call 'git pull', enter my
passphrase and then restart my wsgi server. With Fabric I am trying to the same
thing. Below is an example of the code I am using:
env.user = 'myuser'
env.hosts = ['33.333.333.333']
def deploy():
with cd('my-project'):
run('git pull')
run('supervisorctl restart uwsgi')
When I call fab deploy this is the error I get:
[33.333.333.333] run: git pull
[33.333.333.333] err: Permission denied (publickey).
[33.333.333.333] err: fatal: The remote end hung up unexpectedly
Been looking around for a solution to this for awhile and figure I would try
the mailing list. Any ideas? Could it be that Fabric isn't recognizing the
passphrase prompt?
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user