Add netlify to shell

master
Simon Bruder 2020-12-06 12:29:14 +01:00
parent c852950ef5
commit afcc4eb892
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ steps:
NETLIFY_AUTH_TOKEN:
from_secret: netlify_auth_token
commands:
- nix-shell -I nixpkgs=./nixpkgs.nix -p netlify-cli --run "netlify deploy --prod -d $(readlink -f result)"
- nix-shell --run "netlify deploy --prod -d $(readlink -f result)"
node:
nix: 1

View File

@ -36,6 +36,7 @@ pkgs.stdenv.mkDerivation {
name = "presis";
nativeBuildInputs = [
pkgs.netlify-cli
python
texlive
];