I will try my best :)


透過 GitHub 發布
來看看把網站用 Github Pages 發佈多簡單。

1.首先註冊 GitHub 並驗證電子郵件。

2.接著針對要上傳的檔案建立一個 repository

3.在頁面的 Repository name 標籤輸入 username.github.io,username 是指你的用戶名。例如我們的好朋友 bobsmith 就會輸入 bobsmith.github.io.
另外,請勾選 Initialize this repository with a README 後點選 Create repository。

4.之後,把網站內容拖曳到 repository 目錄,並勾選 Commit changes。
注:請確定目錄內有 index.html 檔案。

5.現在讓瀏覽器連到 username.github.io 來看看你的網站。例如你的用戶名字是 chrisdavidmills,就連到 chrisdavidmills.github.io
注:讓網站上線需要一點時間。如果網站沒有馬上運行,稍等一段時間後再試一次。

想多理解的話,請參考 GitHub Pages Help

參考自:https://developer.mozilla.org/zh-TW/docs/Learn/Getting_started_with_the_web/Publishing_your_website