From c2aa066381d8637465a41920c4e1ed450f26cd9d Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 28 May 2022 12:48:07 +0200 Subject: [PATCH] Run basic deploy previews --- dev/flake-module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/flake-module.nix b/dev/flake-module.nix index d4a8237..435bbab 100644 --- a/dev/flake-module.nix +++ b/dev/flake-module.nix @@ -40,12 +40,12 @@ effects = inputs.hercules-ci-effects.lib.withPkgs pkgs; in { - netlifyDeploy = effects.runIf (branch == "main") (effects.netlifyDeploy { + netlifyDeploy = effects.netlifyDeploy { content = config.flake.packages.x86_64-linux.siteContent; secretName = "default-netlify"; siteId = "29a153b1-3698-433c-bc73-62415efb8117"; - productionDeployment = true; - }); + productionDeployment = branch == "main"; + }; }; }; };