From 5244a430c60bde34abd96ae5a766b46325d4e9c5 Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 7 Aug 2024 21:21:13 +0200 Subject: [PATCH] Add action --- .gitea/workflows/check.yml | 9 +++++++++ configuration.nix | 4 +--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .gitea/workflows/check.yml diff --git a/.gitea/workflows/check.yml b/.gitea/workflows/check.yml new file mode 100644 index 0000000..070194c --- /dev/null +++ b/.gitea/workflows/check.yml @@ -0,0 +1,9 @@ +name: deploy config +run-name: ${{ gitea.actor }} deploys new ngonx config 🚀 +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: ssh {{ secrets.NGINX_USER }}@{{ secrets.NGINX_HOST }} "whoami" diff --git a/configuration.nix b/configuration.nix index ec94786..8de03ed 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,9 +16,7 @@ boot.kernelPackages = pkgs.linuxPackages_latest; - networking.hostName = "nginx"; # Define your hostname. - - # Enable networking + networking.hostName = "nginx"; networking.networkmanager.enable = true; # Set your time zone.