1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-04-09 02:24:01 +00:00

Run basic deploy previews

This commit is contained in:
Robert Hensing 2022-05-28 12:48:07 +02:00
parent 0ea9e72c78
commit c2aa066381

View file

@ -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";
};
};
};
};