{"meta":{"title":"GitHub Pages とは","intro":"GitHub Pagesを使用して、自分、組織、またはプロジェクトに関する Web サイトを、GitHubのリポジトリから直接ホストできます。","product":"GitHub Pages","breadcrumbs":[{"href":"/ja/enterprise-server@3.18/pages","title":"GitHub Pages"},{"href":"/ja/enterprise-server@3.18/pages/getting-started-with-github-pages","title":"概要"},{"href":"/ja/enterprise-server@3.18/pages/getting-started-with-github-pages/what-is-github-pages","title":"GitHub Pages とは"}],"documentType":"article"},"body":"# GitHub Pages とは\n\nGitHub Pagesを使用して、自分、組織、またはプロジェクトに関する Web サイトを、GitHubのリポジトリから直接ホストできます。\n\n## GitHub Pages の概要\n\nGitHub Pages は、HTML、CSS、JavaScript ファイルを GitHub 上のリポジトリから直接取得し、必要に応じてビルド プロセスを通じてファイルを実行し、Web サイトを発行する静的サイト ホスティング サービスです。\nGitHub Pagesのサンプル コレクションでは、[GitHub Pages サイトの例を](https://github.com/collections/github-pages-examples)確認できます。\n\n## GitHub Pages サイトの種類\n\nGitHub Pages サイトには 2 種類あります。 ユーザーまたは organization アカウントに関連付けられたサイトと、特定のプロジェクト用サイトです。\n\n<table>\n<thead>\n<tr>\n<th>プロパティ</th>\n<th>ユーザーと組織のサイト</th>\n<th>プロジェクト サイト</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<th>ソース ファイル</th>\n<td>\n<code>&lt;owner&gt;.github.io</code> というリポジトリに格納する必要があります (この <code>&lt;owner&gt;</code> は個人または organization のアカウント名です)</td>\n<td>プロジェクトのコードを含むリポジトリ内のフォルダーに格納されます</td>\n</tr>\n<tr>\n<th>制限</th>\n<td>アカウントごとに最大１つのサイト</td>\n<td>リポジトリごとに最大１つのサイト</td>\n</tr>\n\n<tr>\n<th>サブドメイン分離が有効になっている既定のサイトの場所</th>\n<td><code>http(s)://pages.&lt;hostname&gt;/&lt;owner&gt;</code></td>\n<td><code>http(s)://pages.&lt;hostname&gt;/&lt;owner&gt;/&lt;repository&gt;/</code></td>\n</tr>\n<tr>\n<th>サブドメイン分離を無効になっている既定のサイトの場所</th>\n<td><code>http(s)://&lt;hostname&gt;/pages/&lt;username&gt;</code></td>\n<td><code>http(s)://&lt;hostname&gt;/pages/&lt;owner&gt;/&lt;repository&gt;/</code></td>\n</tr>\n\n</tbody>\n</table>\n\n詳細については、「 [サブドメインの分離を有効化する](/ja/enterprise-server@3.18/admin/configuring-settings/hardening-security-for-your-enterprise/enabling-subdomain-isolation) 」を参照するか、サイト管理者に問い合わせてください。\n\n## 参考資料\n\n* [\n  GitHub Pages\n  ](https://github.com/skills/github-pages) で GitHub Skills\n* [リポジトリの REST API エンドポイント](/ja/enterprise-server@3.18/rest/repos#pages)\n* [GitHub Pages サイトの発行ソースの構成](/ja/enterprise-server@3.18/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)"}