11 lines
464 B
Bash
Executable file
11 lines
464 B
Bash
Executable file
#!/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/
|