From 21464e0c74f08c2b3d97655c68768f8b846b3d83 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Wed, 2 Aug 2023 21:41:50 -0400 Subject: [PATCH] Updates npm publish script for cleaner file copying --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eeb55d0..7de9082 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "dev": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", "prod": "sass --no-source-map src/scss/theme.scss dist/site.css --style compressed && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", "watch": "sass --no-source-map --watch src/scss/theme.scss dist/site.css", - "publish": "cp -R dist/* /var/www/andrewgioia.com/" + "publish": "rsync -av --delete dist/ /var/www/andrewgioia.com" }, "repository": { "type": "git",