From 1196fb970d4e657197bed710c50a112bf9c84425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 22 Mar 2025 08:34:37 +0100 Subject: [PATCH] document how to use terraform/update machine --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 9649aab..47e79c9 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,26 @@ $ ls -la /tmp/restore/var/lib/mediawiki-uploads/ $ umount /tmp/restore/ ``` +## Applying terraform + +Updating hetzner ssh keys: + +``` +$ ./targets/admins/tf.sh apply +``` + +Deploying hetzner machine: + +``` +$ ./targets/nixos-wiki.nixos.org/tf.sh apply +``` + +## Updating NixOS server + +``` +$ ./targets/nixos-wiki.nixos.org/deploy.sh +``` + ## FAQ: ### When logging in with "GitHub auth", the app shows "Act on your behalf" as a permission.