diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-12 10:31:48 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-12 10:31:48 +0200 |
commit | c364c4b0273e76cb13571878d1a4a2853a392b9b (patch) | |
tree | 0deb386ef2e380436a74ad9fcf5b023c999dfed7 /scripts/build | |
parent | 583f9fa1018bb688323f2367e99c53bba9843f61 (diff) |
WIP transition to jekyll
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build | 29 |
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 - |