Skip to content

itchakhun/discord-build-bot

Folders and files

NameName
Last commit message
Last commit date
Aug 26, 2021
Aug 26, 2021
Mar 30, 2020
Aug 25, 2021
Aug 25, 2021
Jun 25, 2020
Aug 25, 2021
Nov 13, 2021
Nov 13, 2021
Mar 30, 2020
Aug 25, 2021

Repository files navigation

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