Usage:
- Use this template
- In your new repo, go to
Settings / Pages
. Make sureSource
is set toGitHub Actions
- Go to
Settings / Environments / github-pages
. PressAdd deployment branch or tag rule
. SetRef type
toTag
andname pattern
tov*
- Go to
Code / Releases
(right sidebar). ClickDraft a new release
. SetChoose a tag
tov0.1
andRelease title
also tov0.1
- Go to
Code
and click the gear symbol byAbout
. CheckUse your GitHub Pages website
- To confirm that everything worked, click the link that appeared under
Code / About
. If it errors, checkActions
to see if it failed to build the webpage or if it is still working on it.
Once everything works, edit the following files as necessary:
md/index.md
, the content of the document in CommonMarkpublic/style.css
, the style of the document in CSSpublic/script.js
, additional logic for the document in JavaScript
If you have images for the webpage, put them under public/
.
Once you are happy with edits, repeat step 4 above, using the next appropriate version number.