A simple build script to listen to Gitea webhooks.
.env-sample | ||
.gitignore | ||
index.js | ||
package.json | ||
README.md |
Express Build
A simple utility to listen for a Gitea webhook and run a shell script.
Setup
- Copy .env-sample to .env
- Modify the port to listen on.
- Add a secret key.
- Add the path to the shell script to execute.
Run
Run npm install
to setup the dependencies.
Run npm run start
to begin listening for webhooks.