The Static (Hugo) website for caramba.clinic.
hugo server
When making changes please follow these steps:
-
Clone this repo
git clone git@github.com:caramba-uu/website.git
or if you already have a clone of this repo
git checkout master git pull
-
Create a new branch with your name and what you are changing
name/topic-of-change
git checkout -b name/update-my-profile
-
Make your edits
Add and edit the MD file in "content/people"
Add a profile picture in "static/img/people" -
Push your edits to a new branch in this repo (Important! otherwise it will not work)
git add . git commit -m "profile update" git push -u origin name/update-my-profile
-
Create a Pull Request (PR) on GitHub and select
base:master <- compare:name/update-my-profile
-
Check that the PR build status is passed (green) If not, go to step 3 and repeat
-
Ask for it to be merged
-
Done!
Note that you are supposed to work with this repository only. Don't fork the repo.
Github Actions is used to generate the HTML pages by HUGO from this web template, and Github Actions pushes the HTML to the branch gh_pages. The HTML pages in branch gh_pages are served by Github on the domain caramba.clinic (configured in the settings of this repo)