gabrielcsapo / gabrielcsapo/node-git-server

Is it possible to get the pushed files?

Open
#79 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
262
Forks
81
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.