pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

Script halted #78

Open louisluu opened 7 years ago

louisluu commented 7 years ago

Hi,

Thanks for the awesome script. I first started to use this on my project but it did not seem to work.

It connected successfully to the server and started creating, uploading some files, but it halted when updated a JS file (valid url file name, no whitespace, no weird char).

I had been waiting for more than 10mins and nothing changed.

I tried to kill the process and run again (delete all files from server) and get the same issue.

Then I tried to ignore that file, and then ignore the whole dir, script still halted at other files (e.g. .htaccess file this time)

What can I do here? No error, no log at all.

Thanks

pocketarc commented 7 years ago

Not sure what's going on there, to be honest; perhaps something with the network connection? If it's a really big file it can take a while, but it doesn't seem like that's the case here.

I haven't had this happen to me, not sure where it's stuck. I can have a look at it for you but I don't have very much free time right now so it could be a while I'm afraid.

louisluu commented 7 years ago

I have to ignore whole assets dir and it works now.

But then after a few commits, the deploy script failed with message:

ERROR: Failed to upload public/assets/css/app-v1.2.css. Deployment will stop to allow you to check what went wrong.

???