Skip to content

Commit 1802a84

Browse files
committed
fix(docs): Fix readme order
1 parent b80e19b commit 1802a84

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ You can deploy this webhook in different ways
5252

5353
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
5454

55-
## Configuration
56-
5755
### Deploy to your own server
5856

5957
0. Get the source code
@@ -69,6 +67,7 @@ You can deploy this webhook in different ways
6967
```
7068
yarn install
7169
```
70+
7271
3. Create a .env file with your (configuration)[#configuration] and the edit it
7372
```
7473
cp .env.example .env
@@ -83,6 +82,8 @@ You can deploy this webhook in different ways
8382
```
8483
6. You should see your webhook running on the port specified in the configuration below
8584

85+
## Configuration
86+
8687
We make use of the following environment variables:
8788

8889
| Variable | Setting | Mandatory | Default |
@@ -96,8 +97,6 @@ We make use of the following environment variables:
9697
| IGNORE_PR_OPENED_BY | A comma-separated list of GitHub user names. Only PR not opened by these users will be notified or leave it empty to receive all notifications. | **No** | _empty array_ |
9798
| NOTIFY_CHECK_RUNS_FOR | Comma-separated list of branches to notify Check Runs for. Leave empty to notify for any branch | **No** | _empty_ _array_ |
9899

99-
## How to configure the webhook in GitHub
100-
101100
### GitHub Configuration
102101

103102
#### Repositories
@@ -119,7 +118,7 @@ We make use of the following environment variables:
119118
8. Click on `Add webhook`
120119
9. You will receive your first notification on Twitch Chat and StreamLabs letting you now your webhook has been configured correctly.
121120

122-
### For sponsorships
121+
#### Sponsorships
123122

124123
[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)
125124

0 commit comments

Comments
 (0)