diff --git a/deploy-db.sh b/deploy-db.sh new file mode 100644 index 00000000..38a3d2f8 --- /dev/null +++ b/deploy-db.sh @@ -0,0 +1,7 @@ +#!/bin/bash +tmp_dir=$(mktemp -d -t vulndb-XXXX) +go run ./cmd/gendb -reports reports -out $tmp_dir +cd $tmp_dir +gsutil cp -m -r . gs://go-vulndb +cd - +rm -rf $tmp_dir \ No newline at end of file