From e29c65ee2debeebc8ccc38436345848c79db8f76 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 17 Aug 2023 21:54:03 +0200 Subject: [PATCH] updated README --- README.md | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 2e504e3..89863ad 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,12 @@ -# Deploying to nginx webserver +# Kristian's Reproducible Website -Adapted from [AveryanAlex's blog](https://averyan.ru/en/p/nix-flakes-hugo) +This project is my personal website, using Hugo with asciidoc as a static site generator. +The site is hosted on GitLab pages, using the supplied `.gitlab-ci.yaml` file, which just builds the `flake.nix` file. -```nix -{ - inputs.blog.url = "git+https://git.krsnik.at/Kristian/blog" -} -``` +## Development -Setup nginx virtualHost to serve your site: +To preview changes serve the website with `hugo serve` and set `draft: false` in your blogpost. -```nix -{ inputs, pkgs, ... }: -{ - services.nginx.virtualHosts."blog.krsnik.at" = { - root = inputs.packages.default.${pkgs.hostPlatform.system}; - ssl = { - enableACME = true; - forceSSL = true; - }; - }; -} -``` -Test \ No newline at end of file +## Deployment + +Just push the changes to GitLab and the automatic CI/CD will build and deploy the website.