The purpose of this post is to help you create a report website to for a team project. Sharing your work with the class and the broader community is important, as you should generate a persistent portfolio of class work to demonstrate your abilities when you apply for a job or academic career.
We will be using github to host and share websites this year. This is for a couple reasons:
Note: This template extends the basic website creation tutorial by making it possible to clone an existing repository, which uses mkdocs
314 Individual Datasheet Template
Note: Forking a repository creates a new repository that is linked through github to the original.
fork |
fork screen |
To make a website at https://<yourusername>_EGR3x4_<semester><YY>.github.io
For example, for a person with a user name of
danaukestest01in the Fall of 202X for EGR 304, we need to name the new repositorydanaukestest01_EGR304_F2x.github.io** Or, for a person with a user name ofknichols789in the Spring of 2029 for EGR 314, the new repository would be:knichols789_EGR314_S29.github.io
Go to settings and then select “pages” from the links on the left side.
Under “branch”, select “gh-pages”
select gh-pages |
Next to the gh-pages option, select “/root” as the folder
select /root |
Save
Go to “Actions”. If there are no errors, your page will build and show a green check box(this can take ~5 minutes):
successfully built |
Navigate to your web-page. Your page should now be visible at https://your-username.github.io
If you are forking the repository into an organization, check that
Deploy keys are enabled
Ensure deploy keys are enabled |
Github actions has read/write permission
Check workflow permissions |
If you are forking the repository into your user account, check that
If, after you have checked the above settings, often renaming the workflow file will initiate builds, (for whatever reason).
.github/workflows/.pages.yml to something else (main.yml worked for me).This seems to be required only once.