3
1

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 5 years have passed since last update.

netlifyでホームページを公開する

3
Posted at

HTML、JavaScript、CSSだけの簡単なページを公開したかったのでnetlify使って見ました。
5分くらいで簡単に公開できるし、HTMLフォームからPOSTされたらnetlify側で取得して、APIから呼び出せて、100送信まで無料枠みたいなので小さいホームページには十分です。

  1. [get started for free]をクリック
    スクリーンショット 2019-02-10 13.18.25.png

  2. 連携するアカウントを聞かれるのでGitHubを選びました
    スクリーンショット 2019-02-10 13.43.48.png

  3. [New site from Git] クリック
    スクリーンショット 2019-02-10 13.44.59.png

  4. 公開したいレポジトリーを選びます。
    スクリーンショット 2019-02-10 13.22.14.png

  5. ブランチはmasterのまま、ビルドコマンドは必要ないので空白、ディレクトリーも直下に置いているので空白のまま[Deploy site]クリックします。
    スクリーンショット 2019-02-10 13.22.40.png

  6. 選択しているレポジトリはこんな構成です
    スクリーンショット 2019-02-10 13.49.28.png

  7. これで公開完了!

3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?