about summary refs log tree commit diff
path: root/scripts/postbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postbuild.sh')
-rwxr-xr-xscripts/postbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/postbuild.sh b/scripts/postbuild.sh
new file mode 100755
index 0000000..6a0d1df
--- /dev/null
+++ b/scripts/postbuild.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+mkdir ./dist/api
+
+node ./script/generateApi.js > ./dist/api/posts.json
+