Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Rename functions folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong0993 committed May 16, 2021
1 parent 2100ca9 commit f16d144
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion synchronize_backend.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd storage; gsutil -m rsync -r -d ./ gs://$1.appspot.com;
cd ../functions/functions;
cd ../functions/java;
gcloud functions deploy OnUserSignUp --entry-point functions.OnUserSignUp --runtime java11 --trigger-event providers/firebase.auth/eventTypes/user.create --project=$1 --update-env-vars "GOOGLE_CLOUD_PROJECT=$1" --memory=256MB --timeout=540s;
gcloud functions deploy OnUserDeleted --entry-point functions.OnUserDeleted --runtime java11 --trigger-event providers/firebase.auth/eventTypes/user.delete --project=$1 --update-env-vars "GOOGLE_CLOUD_PROJECT=$1" --memory=256MB --timeout=540s;
gcloud functions deploy GetGameReward --entry-point functions.GetGameReward --runtime java11 --trigger-http --allow-unauthenticated --project=$1 --update-env-vars "GOOGLE_CLOUD_PROJECT=$1" --memory=256MB --timeout=540s;
Expand Down

0 comments on commit f16d144

Please sign in to comment.