You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+34
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,42 @@ the following environment variables are required:
9
9
-`GITHUB_WEBHOOK_SECRET`: the secret you chose when you created the json webhook
10
10
-`DISCORD_WEBHOOK`: the regular discord webhook url
11
11
-`DISCORD_BOT_WEBHOOK`: the discord webhook url for bot-authored events
12
+
-`DISCORD_USERSTYLES_WEBHOOK`: the discord webhook url for all non-bot events on [catppuccin/userstyles](https://github.com/catppuccin/userstyles).
12
13
-`DISCORD_ERROR_WEBHOOK`: the discord webhook url for errors
13
14
14
15
the following environment variables are optional:
15
16
16
17
-`PORT`: the port to listen on (default: 3000)
18
+
19
+
## development
20
+
21
+
To learn how to forward webhook events to a local instance of rockdove, follow the instructions below:
22
+
23
+
1. Ensure your `.envrc` has the environment variables listed above in the [configuration](#configuration) section.
24
+
2. Compile a release build of rockdove and run it:
25
+
26
+
```shell
27
+
cargo build --release
28
+
./target/release/rockdove
29
+
```
30
+
31
+
3. Install the `gh` cli webhook forward extension:
32
+
33
+
```shell
34
+
gh extension install cli/gh-webhook
35
+
```
36
+
37
+
4. Allow `gh cli` to create organisation webhooks on your behalf:
0 commit comments