From 919ec78c9c3fb851e7b184cad39b654f30ea22d0 Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sat, 20 Apr 2019 22:25:52 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 27cc317..aadf329 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ A bot to listen for [gitea](https://gitea.io) webhooks and post to a [matrix](ht # Usage ## Configuration -Copy config.ini.example to config.ini or creat a file called config.ini with the +Copy config.ini.example to config.ini or create a file called config.ini with the following options: ```ini @@ -43,16 +43,7 @@ hooks. ## Create gitea hook -Create a new webhook in gitea. You an add a webhook to a single repository or -add a default webhook that will apply to all you repos (recommended) -- Choose the Webhook type `Gitea` for you Webhook -- Configure which events you want to send. You can also select `All Events` -- Set the Target URL to your host + the value you configured in the `config.ini` file. (e.g. `http://myserver:9000/post`) -- Make sure that port is reachable/forwarded if you are behind a router and - check your firewall -- Set `POST Content Type` to `applicatino/json` -- Add a secret (passphrase, password) It will probably look like this: ![gitea scrot](./gitea-scrot.png "Gitea Screenshot")