aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy12
1 files changed, 1 insertions, 11 deletions
diff --git a/deploy b/deploy
index 43c3adf..5d4e0ab 100755
--- a/deploy
+++ b/deploy
@@ -2,17 +2,7 @@
set -e
# Cleanup
-rm -rf public
-rm -f static/main.js
-rm -f static/main.js.map
-
-# Build JavaScript
-tsc --pretty --removeComments --strict --noUnusedLocals --noUnusedParameters --noImplicitReturns main.ts --outFile main-big.js
-closure-compiler main-big.js --js_output_file static/main.js
-rm main-big.js
-
-# Build site
-zola build
+make clean build
# Transfer
rsync -avzh public/ guyonvarch.me:/var/www/cooking.guyonvarch.me --delete