Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 916159a

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 01c9579 commit 916159a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

content/guides/building-a-ci-server.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,16 @@ Let's start with this:
4545

4646
(If you're unfamiliar with how Sinatra works, we recommend [reading the Sinatra guide][Sinatra].)
4747

48-
Start this server up. By default, Sinatra starts on port `9393`, so you'll want
48+
Start this server up. By default, Sinatra starts on port `4567`, so you'll want
4949
to configure ngrok to start listening for that, too.
5050

5151
In order for this server to work, we'll need to set a repository up with a webhook.
5252
The webhook should be configured to fire whenever a Pull Request is created, or merged.
5353
Go ahead and create a repository you're comfortable playing around in. Might we
5454
suggest [@octocat's Spoon/Knife repository](https://github.com/octocat/Spoon-Knife)?
5555
After that, you'll create a new webhook in your repository, feeding it the URL
56-
that ngrok gave you:
56+
that ngrok gave you, and choosing `application/x-www-form-urlencoded` as the
57+
content type:
5758

5859
![A new ngrok URL](/images/webhook_sample_url.png)
5960

content/guides/delivering-deployments.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,16 @@ Let's start with this:
4747

4848
(If you're unfamiliar with how Sinatra works, we recommend [reading the Sinatra guide][Sinatra].)
4949

50-
Start this server up. By default, Sinatra starts on port `9393`, so you'll want
50+
Start this server up. By default, Sinatra starts on port `4567`, so you'll want
5151
to configure ngrok to start listening for that, too.
5252

5353
In order for this server to work, we'll need to set a repository up with a webhook.
5454
The webhook should be configured to fire whenever a Pull Request is created, or merged.
5555
Go ahead and create a repository you're comfortable playing around in. Might we
5656
suggest [@octocat's Spoon/Knife repository](https://github.com/octocat/Spoon-Knife)?
5757
After that, you'll create a new webhook in your repository, feeding it the URL
58-
that ngrok gave you:
58+
that ngrok gave you, and choosing `application/x-www-form-urlencoded` as the
59+
content type:
5960

6061
![A new ngrok URL](/images/webhook_sample_url.png)
6162

36.7 KB
Loading

0 commit comments

Comments
 (0)