add new post
This commit is contained in:
parent
4aab9f1242
commit
ae6163c100
3 changed files with 144 additions and 2 deletions
27
build.sh
27
build.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue