Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/etheryen/github-webhook-listener
- Owner: Etheryen
- Created: 2024-11-21T22:03:10.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-21T23:00:29.000Z (about 1 month ago)
- Last Synced: 2024-11-21T23:26:59.546Z (about 1 month ago)
- Topics: github, go, listener, webhook
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.