aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build3
-rwxr-xr-xscripts/postinfo2
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build b/scripts/build
index b9c5dd0..0a5e246 100755
--- a/scripts/build
+++ b/scripts/build
@@ -15,6 +15,9 @@ npx next build
echo "-> exporting static files..."
npx next export
+echo "-> generating atom.xml..."
+./rss/genrss
+
echo "-> cleaning $web_root..."
rm -rf $web_root/*
diff --git a/scripts/postinfo b/scripts/postinfo
index c2a1597..d6da015 100755
--- a/scripts/postinfo
+++ b/scripts/postinfo
@@ -1,5 +1,7 @@
#!/bin/sh
+cd "$(dirname $0)"
+
filename=$1
jq -n \