Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 785 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 785 Bytes

gh-pages-html-template

A simple template for deploying an HTML website to GitHub Pages

Instructions

  1. Fork this repository
  2. Clone the forked repository
  3. Copy HTML files to the root of the cloned repository and overwrite the index.html file
  4. Change the URL in CNAME to your own domain. If you don't have a domain, delete the CNAME file.
  5. Commit the changes and push them to GitHub
  6. Go to repo Settings -> Code and automation -> Actions -> General -> Workflow permissions -> Read and write permissions.
  7. Go to repo Settings -> Code and automation -> Pages -> Build and deployment -> Branch -> gh-pages -> Save.
  8. The website will be deployed to your GitHub Pages repository. The URL should look like https://username.github.io/gh-pages-html-template.