From 2ae16d6762254bf9f3175061fd0520a6ad9b7f47 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 30 May 2020 18:08:54 +0200 Subject: [PATCH] More concret message for git deploy --- system/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/git.nix b/system/git.nix index 1f482c96..ed2d801a 100644 --- a/system/git.nix +++ b/system/git.nix @@ -31,7 +31,7 @@ let whenJust deployMay $ \deploy -> do (maybe [] (\x -> ["-A", x]) -> target) <- lookupEnv "GL_OPTION_WEB_DEPLOY_NIX_TARGET" (decodeUtf8 -> path) <- pwd |> captureTrim - say [i|Deploying build to /var/www/#{deploy}|] + say [i|Building default.nix #{show target} to /var/www/#{deploy}|] bracket (checkout path) (rm "-rf") $ \repoDir -> withCurrentDirectory repoDir $ nix_build "-o" ([i|/var/www/#{deploy}|] :: String) target say "Done" testFlag <- lookupEnv "GL_OPTION_TEST"