From b5562f7bd1628769ca24e5771a75e0f4441ebd61 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 16 Jul 2021 16:59:13 +0200 Subject: new rss feed build more efficient --- rss/genrss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rss') 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 -- cgit v1.2.3