From e3964c93bc439fe46166af8d2dbc7243a5c00b0f Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 24 Apr 2022 14:41:18 -0400 Subject: [PATCH] Use ; instead of && in case of failure --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 820297d..ff24542 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ weddingSiteDir = "$HOME/.local/source/wedding-site/public/"; weddingSiteTgt = "ubuntu@chrishayward.xyz:/var/www/wedding"; weddingSiteBuild = pkgs.writeShellScriptBin "wedding-site-build" '' - pushd ${weddingSiteDir}../ && ${pkgs.hugo}/bin/hugo -v && popd + pushd ${weddingSiteDir}../ && ${pkgs.hugo}/bin/hugo -v ; popd ''; weddingSiteUpdate = pkgs.writeShellScriptBin "wedding-site-update" '' ${pkgs.rsync}/bin/rsync -aP ${weddingSiteDir} ${weddingSiteTgt}