Skip to content

Commit

Permalink
Server: fix GCF deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
medmunds committed Sep 22, 2024
1 parent fde42ae commit 0f2b7aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions server/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.git
.gitignore

.idea/
build
node_modules

Expand Down
6 changes: 3 additions & 3 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "waterbot",
"version": "0.5.0",
"version": "0.5.1",
"description": "Waterbot Google Cloud Functions",
"main": "build/index.js",
"scripts": {
"build": "tsc",
"gcp-build": "tsc",
"test": "jest",
"deploy-capture": "gcloud functions deploy dataCapture --trigger-event providers/cloud.pubsub/eventTypes/topic.publish --trigger-resource waterbot-data --runtime nodejs20",
"deploy-report": "gcloud functions deploy report --trigger-http --runtime nodejs20",
"deploy-capture": "gcloud functions deploy dataCapture --stage-bucket waterbot --trigger-event providers/cloud.pubsub/eventTypes/topic.publish --trigger-resource waterbot-data --runtime nodejs20",
"deploy-report": "gcloud functions deploy report --stage-bucket waterbot --trigger-http --runtime nodejs20",
"logs": "gcloud functions logs read --limit 50"
},
"author": "Mike Edmunds",
Expand Down

0 comments on commit 0f2b7aa

Please sign in to comment.