Information on the Neurodesk project is available at neurodesk.org
Using SSH
git clone --recurse-submodules git@github.com:neurodesk/neurodesk.github.io.git
Using Https:
git clone --recurse-submodules https://github.com/neurodesk/neurodesk.github.io.git
https://github.com/gohugoio/hugo/releases
The forked baseurl will usually be in the following format https://<USERNAME>.github.io/neurodesk.github.io/.
Go to /settings/pages. Under Build and deployment, set Source as Github Actions
- Contributor (fork-based)
- Fork
neurodesk/neurodesk.github.io→ create a branch → open PR against stagingmain.
- Fork
- PR checks & preview
- CI builds PR and publishes preview (Could take 3-5 minutes) at
https://neurodesk.github.io/pr-<PR_NUMBER>/. - Preview url will appear at comment section by a github-actions bot
- CI builds PR and publishes preview (Could take 3-5 minutes) at
- Merge to staging
- After review, merge PR into staging
main. - Check changes are present at neurodesk.github.io
- After review, merge PR into staging
- Promote to production
- Maintainer runs the Promote to Prod workflow in
neurodesk/neurodesk.github.io→ Actions or via tagging. - Workflow builds site with production baseURL, writes
public/CNAME, pushes toneurodesk/neurodesk.org:site, and triggers deploy.
- Maintainer runs the Promote to Prod workflow in
- Production deploy
neurodesk/neurodesk.orgdeploys fromsitebranch.