Add netlify to shell

This commit is contained in:
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
];