blob: 26d48c97d7f9b5577aa4766aee004c58bc2f7252 [file] [view]
<!-- Auto-generated by x/build/update-readmes.go -->
[![Go Reference](https://pkg.go.dev/badge/golang.org/x/build/cloudfns/sendwikidiff.svg)](https://pkg.go.dev/golang.org/x/build/cloudfns/sendwikidiff)
# golang.org/x/build/cloudfns/sendwikidiff
Package sendwikidiff implements a Google Cloud background function that reacts to a pubsub message containing a GitHub webhook change payload.
<!-- End of auto-generated section -->
## Deploying
```sh
gcloud functions deploy HandleWikiChangePubSub \
--project=symbolic-datum-552 \
--runtime go113 \
--trigger-topic github.webhooks.golang.go.wiki \
--memory 1024 \
--set-env-vars="SENDGRID_API_KEY=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=sendgrid-sendonly-api-key)"
```