Skip to content

Instantly share code, notes, and snippets.

@andrewm4894
Created January 28, 2020 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewm4894/b465ec54dc1aa09f5a32132f5ad8528a to your computer and use it in GitHub Desktop.
Save andrewm4894/b465ec54dc1aa09f5a32132f5ad8528a to your computer and use it in GitHub Desktop.
service: handle-github-events
frameworkVersion: ">=1.2.0 <2.0.0"
package:
exclude:
- node_modules/**
- .gitignore
- .git/**
plugins:
- serverless-google-cloudfunctions
- serverless-dotenv-plugin
provider:
name: google
runtime: python37
project: ${env:GCP_PROJECT_NAME}
region: ${env:GCP_REGION_NAME}
credentials: ${env:GCP_KEY_FILE}
functions:
github_event:
handler: github_event
events:
- http: path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment