how to run a post-receive hook in GitHub?. I know that there is the web-one but I want to write a custom script and do not want to receive a post from github.
相关问题
- How to add working directory to deployment in GitH
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
相关文章
- 请教Git如何克隆本地库?
- java开发bug问题:GitHub授权登录无法获取授权账号信息?
- Is there a Github markdown language identifier for
- “no implicit conversion of Integer into String” er
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
The post-receive hook of Github are actually only "WebHooks", to communicate with a web server whenever the repository is pushed to.
For security reason, you cannot run anything on the GitHub server side.
You can use Requestbin to test your webhooks.
(check that the JSON actually comes from GitHub though)
Note: since late 2018, you can run actions on GitHub server-side, with GitHub Actions.
See examples with
sdras/awesome-actions
.