I am trying to automate the deployment of code from a private github repo using phing, but having difficulty trying to find something that works as an SVN export.
I read a few posts in the git and git checkout-index archives, but struggled to get them to work with github. I get the impression that they tend to use zip download as they can cache it, etc.
I would not mind downloading zip from github if a simple task in Phing was done for this, a simple HTTP task did not work with https, and I assume that some authentication is required first.
I managed to use the gitclone task in Phing, but the hidden ".git" folder is also cloned, which causes massive headaches ... mainly because during subsequent builds I cannot delete the build folder, because it offers certain git files, namely * .idx or * .pack.
Anyone lucky with phing and github private rep?
thank
source
share