website

Sources for my personal website
Log | Files | Refs | README

commit 338c2bb47479a7a1a726041096fb9f6790cd2435
parent c31cef1bff764083c651a1e6a87874edf10f14d7
Author: Sven Möller <sven-moeller@outlook.de>
Date:   Fri, 10 Dec 2021 17:53:03 +0100

Edit

Diffstat:
MREADME.md | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -27,4 +27,18 @@ I convert them to `html` using `pandoc`, but every other converter would do. ## Deployment +I use `git` for version control. +The changes get pushed to a bare repo on my server. + +There I have a `post-receive` hook that checks out the work tree to a folder on the server. + +The hook then runs `make clean` and `make` inside this folder. +This builds the website to the destination folder. + +I have `nginx` set up to serve content from this destination folder. + ## Workflow + +I make changes to the site by editing the local `markdown` files. +Then I commit the changes to my hit repo. +When I push the changes to the server the `git` hook will take care of the rest. +\ No newline at end of file