зеркало из https://github.com/golang/build.git
19 строки
761 B
Markdown
19 строки
761 B
Markdown
<!-- Auto-generated by x/build/update-readmes.go -->
|
|
|
|
[![Go Reference](https://pkg.go.dev/badge/golang.org/x/build/cloudfns/wikiwebhook.svg)](https://pkg.go.dev/golang.org/x/build/cloudfns/wikiwebhook)
|
|
|
|
# golang.org/x/build/cloudfns/wikiwebhook
|
|
|
|
Package wikiwebhook implements an Google Cloud Function HTTP handler that expects GitHub webhook change events.
|
|
<!-- End of auto-generated section -->
|
|
|
|
## Deploying
|
|
|
|
```sh
|
|
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)"
|
|
```
|