diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-07-16 16:56:43 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-07-16 16:56:43 +0200 |
commit | 861b955552d42b048d1ba17d4a48c953aeefe272 (patch) | |
tree | 629b91ff14e422a69682f267f085f170fd2ab251 /scripts | |
parent | a10ce5d3e2e95ebe88ecdfd22a0fc689def2ab9c (diff) |
add rss feed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build | 3 | ||||
-rwxr-xr-x | scripts/postinfo | 2 |
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 \ |