tree: 845e24165c5df2a38c675cefe23945678d249e3c [path history] [tgz]
  1. go.mod
  2. go.sum
  3. README.md
  4. wikiwebhook.go
  5. wikiwebhook_test.go
cloudfns/wikiwebhook/README.md

Go Reference

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)"