feat: build and deploy with netlify
Some checks failed
Build and deploy / lint (push) Failing after 1m4s
Some checks failed
Build and deploy / lint (push) Failing after 1m4s
This commit is contained in:
parent
20d45dca90
commit
dc6475b682
5 changed files with 128 additions and 1 deletions
31
flake.nix
31
flake.nix
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in
|
||||
with pkgs;
|
||||
{
|
||||
devShells.default = mkShell {
|
||||
buildInputs = [
|
||||
git
|
||||
netlify-cli
|
||||
nodejs_22
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue