- commit
- 1d79058
- parent
- 1a7bea2
- author
- Eric Bower
- date
- 2021-09-02 01:48:01 +0000 UTC
add deploy script
1 files changed,
+10,
-0
+10,
-0
1@@ -0,0 +1,10 @@
2+#!/bin/bash
3+set -x
4+
5+$NODE --experimental-specifier-resolution=node --loader ts-node/esm scripts/scrape.ts
6+$NODE --experimental-specifier-resolution=node --loader ts-node/esm scripts/process.ts
7+$NODE --loader ts-node/esm scripts/html.ts
8+rm -rf build
9+./node_modules/.bin/svelte-kit build && $NODE scripts/postbuild.js
10+gsutil -m rm -r gs://neovimcraft.com/*
11+gsutil -m -h 'Cache-Control:private, max-age=0, no-transform' rsync -r ./build gs://neovimcraft.com