0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHub Pagesでサイトを公開する

0
Posted at

はじめに

GitHub Pagesを使ってのサイト公開をする機会があったので
手順をまとめます。

準備

GitHub Pagesでのサイト公開に向けてGitHubのアカウントと
公開するサイト用のリポジトリを準備してください。
無料で公開するためにはリポジトリをpublicに設定しなければなりませんので
リポジトリ作成の際にはpublicで作成してください。

サイト公開までの流れ

ここからサイトの公開の手順の説明です。
まずSettingsページへ移動してください。

移動しましたらSettingsページのサイドバーにあるPagesをクリックしてください。
移動さきのページには色々記載されていますがいじるのはBranchと表示されている
箇所のみです。
公開用のブランチをmainに設定しましたらSaveボタンをクリックして設定を保存してください。
公開が完了しましたら画像のようにURLが表示されます。
スクリーンショット 2023-11-16 23.55.14.png

最後に

以上がGitHub Pagesを使用したサイト公開までの手順になります。
設定が簡単にできて全世界に自作のサイトを公開できるのでみなさんも
積極的に活用してみてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?