mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Try deploying to production from Hydra
This commit is contained in:
parent
703d6296fc
commit
7075280d29
1 changed files with 8 additions and 0 deletions
|
|
@ -122,6 +122,10 @@
|
|||
echo ""
|
||||
'';
|
||||
};
|
||||
|
||||
deployToProduction = pkgs.writeShellScript ''
|
||||
${pkgs.curl}/bin/curl 62.146.78.173:9337/hooks/angestoepselt_homepage
|
||||
'';
|
||||
};
|
||||
defaultPackage = packages.angestoepseltSite;
|
||||
|
||||
|
|
@ -139,6 +143,10 @@
|
|||
ln -s ${containerFile} $out/angestoepselt-site.tar.gz
|
||||
echo "file oci $out/angestoepselt-site.tar.gz" > $out/nix-support/hydra-build-products
|
||||
'';
|
||||
|
||||
runCommandHooks = {
|
||||
inherit (base.packages.x86_64-linux) deployToProduction;
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue