前提・実現したいこと
ホームページを公開したいです。
=GitHubのリポジトリ(HTML)を、Netlifyを使って正しく公開したいです。
デプロイまでは完了したものの、リンクを踏むとエラーになり正しく表示されないので、これを解消したいです。
●行った手続き
Netlifyで静的サイトのホスティングをする(Qiita記事)
・この記事を参考に、公開したいHTMLをGitリポジトリに登録した
・NetlifyとGitHubは連携済み、公開するHTMLにも不備なし
・masterブランチでデプロイ済
・DeployLog上では、正しくデプロイできたことになっている(Site is liveとの表示あり)
お詳しい方、ご教示いただけますと助かります。
発生している問題・エラーメッセージ
デプロイまでは完了したものの、Netlifyでリンクをクリックすると、
下記のようなエラーが表示されてしまいます。
エラー文
Page Not found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site.
Back to our site
####Deploy log
正しくデプロイされたことになっています。
12:05:07 PM: Build ready to start 12:05:09 PM: build-image version: 12783d4d17xxxxxxxxxxxx931128 12:05:09 PM: buildbot version: 5a64b5cb0xxxxxxxxxxxxxxxxxx83a4d39e15107 12:05:09 PM: Fetching cached dependencies 12:05:09 PM: Failed to fetch cache, continuing with build 12:05:09 PM: Starting to prepare the repo for build 12:05:09 PM: No cached dependencies found. Cloning fresh repo 12:05:10 PM: git clone https://github.com/xxxxxx/xxxxxx 12:05:10 PM: Preparing Git Reference refs/heads/master 12:05:10 PM: No build command found, continuing to publishing 12:05:10 PM: Starting to deploy site from 'test' 12:05:10 PM: Finished processing build request in 1.804085565s 12:05:11 PM: Starting post processing 12:05:11 PM: Post processing done 12:05:11 PM: Site is live
GitHub 公開したいリポジトリの中身
Hello,World!を表示させるためのもので、構造は下記の通りです。
/
├README.md
└test/
. └hello.html
試したこと
・publicDirectoryの設定
・DeployLogをみてデプロイされたことの確認
補足情報(FW/ツールのバージョンなど)
Windows7
ほかに必要な情報はないと思うのですが、何かあれば教えてほしいです。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。