Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.18 KB

deploy-with-github-pages.md

File metadata and controls

16 lines (14 loc) · 1.18 KB

Deploy with GitHub pages

Use the following steps to deploy the generated archive to GitHub pages:

  1. Create a new empty GitHub repository
  2. After creation, navigate to the Settings tab of your new GitHub repository
  3. Navigate to the "Pages" page
  4. Enable GitHub pages by selecting your main branch
  5. Follow the instructions to Build the web site. Note: unless you use a custom domain, you will need to pass your repo's name as your --pathprefix option.
  6. Using a terminal, navigate into the _site folder
  7. Run git init
  8. Add the new repository as the origin: git remote add origin git@github.com:USERNAME/REPO.git
  9. Add and commit all generates files in that folder to the new git repository with git commit -am "Add Twitter archive"
  10. Push your commit: git branch -M main and git push -u origin main
  11. Your web site will now be serving at the URL https://USERNAME.github.io/REPO/
  12. Optionally, use a custom domain