Discover Packages
golang.org/x/build/cloudfns/sendwikidiff
package
module
Version:
v0.0.0-...-208db0b
Opens a new window with list of versions in this module.
Published: Apr 14, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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.
Deploying
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)"
Expand ▾
Collapse ▴
Documentation
¶
Package sendwikidiff implements a Google Cloud background function that
reacts to a pubsub message containing a GitHub webhook change payload.
It assumes the payload is in reaction to a change to the Go wiki, then
sends the full diff to the golang-wikichanges mailing list.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.