add new post

This commit is contained in:
Bruno Carlin 2025-06-12 01:45:15 +02:00
parent 4aab9f1242
commit ae6163c100
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
3 changed files with 144 additions and 2 deletions

View file

@ -1,4 +1,27 @@
#!/usr/bin/env bash
rm -rf public
hugo build --minify
set -euo pipefail
hugo build --minify
incremental-compress \
-dir public \
-statedir .compress_state \
-types html,css,js,json,xml,ico,svg,md,otf,woff,ttf,woff2,webmanifest \
-zstd=false \
-verbose
rsync \
--perms \
--times \
--update \
--partial \
--progress \
--recursive \
--checksum \
--compress \
--links \
--delete-after \
--owner \
--usermap "*:bcarlin_net" \
--group \
--groupmap "*:bcarlin_net" \
public/ root@192.168.1.25:/home/bcarlin_net/www