aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build29
1 files changed, 0 insertions, 29 deletions
diff --git a/scripts/build b/scripts/build
deleted file mode 100755
index 0a5e246..0000000
--- a/scripts/build
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-web_root=/var/www/blog
-
-cd $(dirname $0)
-
-echo "-> generating posts.json..."
-./genposts
-
-cd ..
-
-echo "-> building static files..."
-npx next build
-
-echo "-> exporting static files..."
-npx next export
-
-echo "-> generating atom.xml..."
-./rss/genrss
-
-echo "-> cleaning $web_root..."
-rm -rf $web_root/*
-
-echo "-> moving static files to $web_root..."
-cp -rv out/* $web_root
-
-echo "-> cleaning out directory..."
-rm -rfv out
-