Skip to content

Commit b5ee061

Browse files
committed
deploy to node 18
1 parent a108f48 commit b5ee061

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ deploy-data: deploy-config
7373
deploy-server: deploy-config
7474
npm install --prefix ./server
7575
npm run build
76-
gcloud functions deploy ${GCLOUD_FN_NAME} --source server \
77-
--stage-bucket ${GCLOUD_APP_BUCKET} --trigger-http --verbosity debug
76+
gcloud functions deploy ${GCLOUD_FN_NAME} \
77+
--source server \
78+
--stage-bucket ${GCLOUD_APP_BUCKET} \
79+
--trigger-http \
80+
--verbosity debug \
81+
--runtime nodejs18
7882

7983
# Deploy all
8084
deploy: build-www deploy-config deploy-server deploy-data deploy-www

0 commit comments

Comments
 (0)