diff --git a/build.sh b/build.sh index 374f891..4407d39 100755 --- a/build.sh +++ b/build.sh @@ -6,6 +6,6 @@ nix shell nixpkgs#zola -c zola build 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 -nix shell nixpkgs#brotli -c find public -type f -regextype posix-extended -regex '.*\.(htm|html|css|js|xml|xsl|txt|woff|woff2|svg|otf|eot|ttf)' -exec gzip --best -k -f {} \+ -exec brotli --best -f {} \; +find public -type f -regextype posix-extended -regex '.*\.(htm|html|css|js|xml|xsl|txt|woff|woff2|svg|otf|eot|ttf)' -exec gzip --best -k -f {} \; rsync -a --delete-after public/ /var/www/harald.hoyer.xyz/html/ chmod go-w -R /var/www/harald.hoyer.xyz/