Skip to content

Commit

Permalink
Swapped structure for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ROODAY committed May 10, 2020
1 parent 26fff01 commit fbd231d
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

node_modules
#!include:.gitignore
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ dist

# TernJS port file
.tern-port

api_key.json
credentials.json
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions functions/.gitignore

This file was deleted.

File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions functions/package.json → package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"main": "index.js",
"scripts": {
"start": "functions-framework --target=checkEmail",
"format": "prettier --write \"**/*.{js,jsx,json,md}\""
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"deploy-check-email": "gcloud functions deploy checkEmail --entry-point checkEmail --runtime nodejs8 --trigger-http --allow-unauthenticated"
},
"author": "",
"license": "ISC",
"author": "Rudhra Raveendran",
"license": "MIT",
"dependencies": {
"googleapis": "^50.0.0"
},
Expand Down

0 comments on commit fbd231d

Please sign in to comment.