Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/etheryen/github-webhook-listener

Go webhook listener that executes a given command on request
https://github.com/etheryen/github-webhook-listener

github go listener webhook

Last synced: 30 days ago
JSON representation

Go webhook listener that executes a given command on request

Awesome Lists containing this project

README

        

# github-webhook-listener

Go webhook listener for CI-CD on your server.

## How to use it

1. Create a .env that follows the .env.example schema.
2. Create a config, example:

```yaml
projects:
- repository: websocket-chat
branch: main
command: "cd ~/projects/websocket-chat && just redeploy"
```

3. Now set your github webhook to `{your-server-url}/webhook`.