https://github.com/etheryen/github-webhook-listener
Go webhook listener that executes a given command on push
https://github.com/etheryen/github-webhook-listener
github go listener webhook
Last synced: 4 months ago
JSON representation
Go webhook listener that executes a given command on push
- Host: GitHub
- URL: https://github.com/etheryen/github-webhook-listener
- Owner: Etheryen
- Created: 2024-11-21T22:03:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T20:51:22.000Z (7 months ago)
- Last Synced: 2025-01-31T01:16:07.010Z (5 months ago)
- Topics: github, go, listener, webhook
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- 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 continous deployment 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`.