Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitb9b3f5a

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent0e76bd2 commitb9b3f5a

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)

[8]ページ先頭

©2009-2025 Movatter.jp