Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
/ github2pubsub Public archive

A bridge from Github webhooks to Google PubSub

License

Notifications You must be signed in to change notification settings

300481/github2pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github2pubsub

A bridge from Github webhooks to Google PubSub

Environment Variables

Environment Variable Description Valid values
GCP_TOPIC_NAME The PubSub topic name String
GCP_CREATE_TOPIC Allow creation of topic if not exists String TRUE/FALSE
GCP_PROJECT_ID The Google Project ID String
GITHUB_SECRET The Github Secret String
GITHUB_EVENTS The Github Event Types, separated by / String f.e. ping/push

For more information about possible events see the sourcecode.

Prerequisites

Installation

git clone https://github.com/300481/github2pubsub.git
export GCP_TOPIC_NAME=yourtopicname
export GCP_CREATE_TOPIC=TRUE
export GCP_PROJECT_ID=yourprojectid
export GITHUB_SECRET=yourgithubsecret
export GITHUB_EVENTS=ping/yourwantedevents
cd deployments
chmod +x gcloud.sh
./gcloud.sh

About

A bridge from Github webhooks to Google PubSub

Resources

License

Stars

Watchers

Forks

Packages

No packages published