1. Create a repository on GitHub
Sign up at github.com and create an empty repository, for example my-site. A repository is a folder on GitHub that keeps your site and the history of every change.
- Private or public
- Private keeps drafts hidden. Public suits open projects: the texts of the site are visible, tokens never are.
- GitHub Pages on the free plan
- Works only with public repositories. A private repository needs GitHub Pro, or a server with Docker.
- Name
- The image is called after it:
ghcr.io/you/my-site. - Empty means empty
- Do not tick «Add a README» or a licence: the first push brings everything from your folder.
- First time on GitHub? Account, repository and token step by step: git and GitHub.