Skip to content

shmam/github-pages-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-pages-html

making a small html page that publishes using github pages

Check out my page here: https://shmam.github.io/github-pages-html/

What is the page url?

Github Pages will give you a free URL using the following pattern https://<your username>.github.io/<repo name>/. You can also buy your own domain and use it. More info here: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages

How can I see that it's been published?

GitHub pages publishes using GitHub actions. Most of the time all you have to do is push your code up to the main branch. To see when your page has been published, click on the actions tab. Here's mine: https://github.com/shmam/github-pages-html/actions

How could you enable GitHub pages for your repo?

https://docs.github.com/en/pages/quickstart

How does this one work?

Because I enabled GitHub pages to deploy from the main branch at the root, it picks up the index.html page in the root of my repo and publishes that as my page. It also picks up any stylesheets (main.css) and assets (/assets)

image

About

making a small html page that publishes using github pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors