diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-05-26 17:28:34 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-05-26 17:28:34 +0200 |
commit | c1b6e5a49838463df3a90e83bd445863fb862356 (patch) | |
tree | 0905c9da890c10bd4799a5f77ad73fa3461b0f54 | |
parent | 32d8ce7c2e66d56ec35896c5a221bc6b5b387d10 (diff) | |
download | sousleciel.lol-c1b6e5a49838463df3a90e83bd445863fb862356.tar.gz |
feat(Makefile): generate gzip files before upload
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |