You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
});
Is it possible?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: