From c1b6e5a49838463df3a90e83bd445863fb862356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 26 May 2024 17:28:34 +0200 Subject: feat(Makefile): generate gzip files before upload --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index fb6450c..7b4f2fe 100644 --- a/Makefile +++ b/Makefile @@ -25,5 +25,6 @@ clean: - rm -r $(OUTPUT_DIR) $(TEMPORARY_DIR) deploy: site + find out -type f \( -iname "*.html" -o -iname "*.css" -o -iname "*.svg" \) -exec gzip -kf {} \; rsync -e ssh -avz --delete $(OUTPUT_DIR)/ $(REMOTE_HOST):$(REMOTE_DIR) ssh $(REMOTE_HOST) chown -R www:www $(REMOTE_DIR) -- cgit v1.2.3