2023-09-14 16:09:49 +02:00
|
|
|
#!/usr/bin/env bash
|
2020-05-19 19:30:45 +02:00
|
|
|
|
|
|
|
set -ex
|
2023-11-06 12:32:46 +01:00
|
|
|
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
|
2023-10-26 10:02:42 +02:00
|
|
|
nix shell nixpkgs#zola -c zola build --force --output-dir /var/www/harald.hoyer.xyz/html
|
2023-11-06 12:32:46 +01:00
|
|
|
rsync -av public/ /var/www/harald.hoyer.xyz/html/
|
2023-09-14 16:09:49 +02:00
|
|
|
chmod go-w -R /var/www/harald.hoyer.xyz/
|