Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tgragnato
· 5y ago · 0 comments
The old school way is to notify the ci/cd server using a post-receive hook. You can do it, but it’s not integrated in cgit, it must be set from the command line when you initialize the repo
Comments
[–]
mnutt
5y ago
You can automatically add hooks to new repositories using gitolite.
[–]
aigoota
5y ago
I still like this method, and I take advantage of pre-push, pre-commit hooks for dev tools like linters and scanners.