Categorygithub.com/eliben/code-for-blog2019github-hook-google-cloud-function
package
0.0.0-20240823185143-dd92f641a18c
Repository: https://github.com/eliben/code-for-blog.git
Documentation: pkg.go.dev

# README

payloadserver.go contains the Payload function that gets deployed. To deploy it from the command line, run:

	$ gcloud functions deploy payloadserver --entry-point Payload --runtime go111 --trigger-http --set-env-vars HOOK_SECRET_KEY=<key>

Then point the Github webhook to it, and it should work.

To check logs from the command-line, run:

	$ gcloud functions logs read payloadserver