Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 414 Bytes

Readme.md

File metadata and controls

32 lines (16 loc) · 414 Bytes

Discord gcloud build bot

To deploy to cloud function

First deployment, create .env.yaml providing access url and token

DISCORD_WEBHOOK_URL: __URL__
GITHUB_API_TOKEN: __TOKEN__
OWNER_NAME: __NAME__

and run following command,


gcloud functions deploy subscribeDiscord --trigger-topic cloud-builds --runtime nodejs10 --env-vars-file .env.yaml

and later,

npm run deploy