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
2. Install the dependencies with yarn (or alternative you can use `npm`)
48
+
49
+
```
50
+
yarn install
51
+
```
65
52
53
+
```
54
+
55
+
```
56
+
57
+
3. Create a .env file with your (configuration)[#configuration] and the edit it
58
+
```
59
+
cp .env.example .env
60
+
```
61
+
4. Compile the project to JavaScript
62
+
```
63
+
yarn build
64
+
```
65
+
5. Run the start command
66
+
```
67
+
yarn run start
68
+
```
69
+
6. You should see your webhook running on the port specified in the configuration below
66
70
67
71
We make use of the following environment variables:
68
72
@@ -86,23 +90,21 @@ We make use of the following environment variables:
86
90
#### Repositories
87
91
88
92
0. Open your repository settings on GitHub.
89
-
0. Go to the **Webhooks** section.
90
-
0. Click on **Add webhook**.
91
-
0. On the **Payload** field, enter the GitHub endpoint for your deployed webhook. For example `https://YOUR-SITE-HERE.herokuapp.com/github`.
92
-
0. For **Content type** we want to select `application/json`.
93
-
0. On **Which events would you like to trigger this webhook?** select `Let me select individual
94
-
events`.
95
-
0. On the list of events check the following:
96
-
- Check runs
97
-
- Forks
98
-
- Issues
99
-
- Pull requests
100
-
- Releases
101
-
- Stars
102
-
0. Make sure the `Active` checkbox is checked
103
-
0. Click on `Add webhook`
104
-
0. You will receive your first notification on Twitch Chat and StreamLabs letting you now your webhook has been configured correctly.
105
-
93
+
1. Go to the **Webhooks** section.
94
+
2. Click on **Add webhook**.
95
+
3. On the **Payload** field, enter the GitHub endpoint for your deployed webhook. For example `https://YOUR-SITE-HERE.herokuapp.com/github`.
96
+
4. For **Content type** we want to select `application/json`.
97
+
5. On **Which events would you like to trigger this webhook?** select `Let me select individual events`.
98
+
6. On the list of events check the following:
99
+
- Check runs
100
+
- Forks
101
+
- Issues
102
+
- Pull requests
103
+
- Releases
104
+
- Stars
105
+
7. Make sure the `Active` checkbox is checked
106
+
8. Click on `Add webhook`
107
+
9. You will receive your first notification on Twitch Chat and StreamLabs letting you now your webhook has been configured correctly.
106
108
107
109
[Check the GitHub documentation](https://help.github.com/en/github/supporting-the-open-source-community-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account)
0 commit comments