deploy/gcp-deploy.sh: always deploy the DB
No longer check for any special bits.
This will cause the build trigger to deploy the DB on every submit.
Change-Id: I21d453701cfcbc003de01767b4d1c3021299574a
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/408977
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
diff --git a/deploy/gcp-deploy.sh b/deploy/gcp-deploy.sh
index b612722..a0ce685 100644
--- a/deploy/gcp-deploy.sh
+++ b/deploy/gcp-deploy.sh
@@ -5,16 +5,4 @@
set -e
-deploy=$(
- git cat-file -p 'HEAD' |
- awk '
- BEGIN { flag = "false" }
- /^Reviewed-on:/ { flag = "false" }
- /^Vulndb-Deploy:/ { flag = "true" }
- END {print flag}
- '
-)
-
-if $deploy; then
- gsutil -m cp -r /workspace/db/* gs://go-vulndb
-fi
\ No newline at end of file
+gsutil -m cp -r /workspace/db/* gs://go-vulndb