logsol / Github-Auto-Deploy

a server that allows you to automatically deploy the latest version of your github project at each git push
http://logsol.github.com/Github-Auto-Deploy/
MIT License
575 stars 187 forks source link

Stuck on deploying #36

Open furkansahin opened 8 years ago

furkansahin commented 8 years ago

Hey! I appreciate your work, it's an awesome and useful one. However, when I try to use it in my server - repo connection, I don't know the reason but it is stuck on deploying as you can see from the screenshot. Github says the delivery is successful, but I couldn't resolve the problem.

screen shot 2016-04-16 at 13 55 30
and-jan commented 8 years ago

I also had the same problem, as it turns out, you may want to git pull instead of git fetch. Just replace it in line 83 of GitAutoDeploy.py.

Actually i have no idea why there is just a git fetch in the script.

ThomDietrich commented 8 years ago

had the same problem, check out my pull request https://github.com/logsol/Github-Auto-Deploy/pull/29 solving it. It's a shame it was not merged yet Enjoy ;)

fiantinangon commented 7 years ago

hi @ThomDietrich i use your pull request about this problem but i still have the same issue stuck here

dev@scarlet:~/Github-Auto-Deploy$ python GitAutoDeploy.py
Github Autodeploy Service v0.2 started
192.30.252.42 - - [18/Mar/2017 16:15:22] "POST / HTTP/1.1" 204 -
ThomDietrich commented 7 years ago

@fiantinangon I haven't used the script for a while. You should add some debugging to the script to find the point of error. It's probably easy to find...

fiantinangon commented 7 years ago

@ThomDietrich i finally fix the issue, the issue is on

if(repository['url'] == repoUrl):
                res.append(repository['path'])

my conf repository url using .git on the url :) and the repoUrl from git response not use .git on the last URL , finally i simply change my config and change the url to follow new url from git response.