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

Commit b9b3f5a

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 0e76bd2 commit b9b3f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/changes/2016-07-06-github-pages-preiew-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We're introducing additional preview functionality to the [GitHub Pages API](/v3
1010
You can now manually request a build of your GitHub Pages site without needing to push a new commit by making a `POST` request to the endpoint already available to see past builds. For example:
1111

1212
``` command-line
13-
curl "https://api.github.com/repositories/github/developer.github.com/pages/builds" \
13+
curl "https://api.github.com/repos/github/developer.github.com/pages/builds" \
1414
-X POST
1515
-H 'Authorization: token TOKEN' \
1616
-H "Accept: application/vnd.github.mister-fantstic-preview" \
@@ -25,7 +25,7 @@ The resulting URL can be `https://username.github.io` (or `http://username.githu
2525
For example, to request the HTML URL:
2626

2727
``` command-line
28-
curl "https://api.github.com/repositories/github/developer.github.com/pages" \
28+
curl "https://api.github.com/repos/github/developer.github.com/pages" \
2929
-H 'Authorization: token TOKEN' \
3030
-H "Accept: application/vnd.github.mister-fantstic-preview" \
3131
```

0 commit comments

Comments
 (0)