aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-07-16 16:59:13 +0200
committerlonkaars <loek@pipeframe.xyz>2021-07-16 16:59:13 +0200
commitb5562f7bd1628769ca24e5771a75e0f4441ebd61 (patch)
tree368c4d4f1606b422d778af6a8297cd66211db6e9
parent861b955552d42b048d1ba17d4a48c953aeefe272 (diff)
new rss feed build more efficient
-rwxr-xr-xrss/genrss7
1 files changed, 3 insertions, 4 deletions
diff --git a/rss/genrss b/rss/genrss
index 7cfd005..6d88f0f 100755
--- a/rss/genrss
+++ b/rss/genrss
@@ -2,6 +2,8 @@
cd $(dirname $0)
+alias xml="xmlstarlet"
+
# exit if no out dir
[[ ! -d ../out ]] && exit 1
@@ -20,8 +22,5 @@ for file in ../out/post/*; do
atom.xml
done
-mv atom.xml ../public
+mv atom.xml ../out/
-cd ..
-npx next build
-npx next export