A simple build script to listen to Gitea webhooks.
Go to file
2022-01-17 22:02:09 -05:00
.env-sample Added shell execution 2022-01-17 21:50:27 -05:00
.gitignore update gitignore 2022-01-17 21:41:45 -05:00
index.js Test build 2022-01-17 21:55:20 -05:00
package.json Move nodemon to dev dependency 2022-01-17 21:44:10 -05:00
README.md Add readme 2022-01-17 22:02:09 -05:00

Express Build

A simple utility to listen for a Gitea webhook and run a shell script.

Setup

  1. Copy .env-sample to .env
  2. Modify the port to listen on.
  3. Add a secret key.
  4. 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.