add npm to build script
This commit is contained in:
parent
c3864d61b5
commit
1818da9fc4
6
build.sh
6
build.sh
|
@ -1,6 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
export DEPLOY_PRIME_URL=https://harald.hoyer.xyz
|
||||
nix shell nixpkgs#zola -c zola build --force --output-dir /var/www/harald.hoyer.xyz/html
|
||||
nix shell nixpkgs#nodejs_20 nixpkgs#zola -c npm install
|
||||
nix shell nixpkgs#nodejs_20 nixpkgs#zola -c npm run abridge
|
||||
nix shell nixpkgs#zola -c zola build --force --output-dir /var/www/harald.hoyer.xyz/html
|
||||
rsync -av public/ /var/www/harald.hoyer.xyz/html/
|
||||
chmod go-w -R /var/www/harald.hoyer.xyz/
|
||||
|
|
Loading…
Reference in a new issue