Discover Packages
golang.org/x/build/cloudfns/wikiwebhook
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: 9
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/wikiwebhook
Package wikiwebhook implements an Google Cloud Function HTTP handler that expects GitHub webhook change events.
Deploying
gcloud functions deploy GitHubWikiChangeWebHook \
--project=symbolic-datum-552 \
--runtime go113 \
--trigger-http \
--set-env-vars="PUBSUB_TOPIC=github.webhooks.golang.go.wiki,GCP_PROJECT=symbolic-datum-552,GITHUB_WEBHOOK_SECRET=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=github-webhook-secret)"
Expand ▾
Collapse ▴
Documentation
¶
Package wikiwebhook implements an Google Cloud Function HTTP handler that
expects GitHub webhook change events. Specifically, it reacts to wiki change
events and posts the payload to a pubsub topic.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.