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:
parent
0ea9e72c78
commit
c2aa066381
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue