summaryrefslogtreecommitdiff
path: root/.local/bin/upsite
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-26 17:52:12 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-26 17:52:12 -0400
commit9f7ab09c35fdb22bc0963dde2c7bf82e175acd1b (patch)
treee8a0a6e32e1b8a827cf5e16bb23f2a6220680e9b /.local/bin/upsite
parentcb1a51092d12db12f7ba29e57daed6d64b311d38 (diff)
More flags for hugo compilation
Diffstat (limited to '.local/bin/upsite')
-rwxr-xr-x.local/bin/upsite2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/upsite b/.local/bin/upsite
index fa7649a..aad82be 100755
--- a/.local/bin/upsite
+++ b/.local/bin/upsite
@@ -4,6 +4,6 @@ sitename="chausse.xyz"
cd "$HOME/Workspace/$sitename"
-hugo
+hugo --gc=true --minify
rsync -auvz "$HOME/Workspace/$sitename/public/" "master@$sitename:/var/www/dev"