After push.accept(), how can I get the received files?
I'm in a proof of concept to use node-git-server as a devops platform. My goal is:
repos.on('push', (push) => {
console.log(`push ${push.repo}/${push.commit} (${push.branch})`);
push.accept();
//exec some task or commands over the received files
});
Consider cloning the repository in the frontend ( or backend ) via isomorphic git ( a js package ) . You can then list the files read the content etc .
After push.accept(), how can I get the received files?
I'm in a proof of concept to use node-git-server as a devops platform. My goal is:
Is it possible?
Thanks in advance.