Deploying on Github pages
How to make your site available to the public on Github Pages
Note: Github Pages is currently free, and has been for years. Of course, that may change…
Step 1: Configure _config.yml
Within _config.yml set:
url: your GitHub Pages domainbaseurl:""for user/organization sites"/<repo>"for project sites
Step 2: Enable Pages with actions
- Commit and push the workflow file.
- In GitHub, open Settings > Pages.
- Set Source to GitHub Actions.
Step 3: Push your code to Github
- Push to
main - Check that the included workflow has completed properly in Github’s Actions tab.
Note: If you need to make changes to the workflow, you will find it here: .github/workflows/deploy-pages.yml