lucasmotta / dploy

⛔️ currently unmaintained ⛔️
http://lucasmotta.github.io/dploy/
MIT License
990 stars 90 forks source link

Stash & Dploy hook #54

Closed chrisedington closed 10 years ago

chrisedington commented 10 years ago

When I execute dploy explicitly from cli, it runs successfully and finishes. All works well. Command below:

dploy dev

However, when I commit like this:

commit -m "#dploy dev - Initial commit" It gets stuck (wont accept any keyboard input) and I have to Ctrl+C to get out of it.

[ Wed Jun 11 2014 11:58:29 macbook as chris @ ami] git commit -m "#dploy dev" Connecting to dev... Checking revisions... Checking diffs between [4361308e87183d8dfaf556da3182dd1095f58486] > [dd70f1cf70957e9e672cd371499fb4183a9d8b3b] Files that will be uploaded: [ ? ] .rev > public_html/ami/.rev [ ? ] test.txt > public_html/ami/test.txt [ ? ] .rev > public_html/ami/.rev – Are you sure you want to upload those files? (Y/n)

^^ Gets stuck here and wont move forward, no keyboard input helps.

Its probably a very specific issue - had anyone experienced this or figured out a solution?

lucasmotta commented 10 years ago

Hello @chriscapetown, I've experienced the same issue as you've explained, but I never actually looked into it to find out a solution. I haven't been using the post-commit hook for a while, but it's I am pretty sure it's something related to the new prompt messages that were implemented on DPLOY.

What happens if you set the check parameter to false on your config file? Does it go through?

chrisedington commented 10 years ago

THANK YOU! SOLVED! :)))