Skip to content

A webhook used as Line bot(@zpe1163t), deployed on google cloud functions

Notifications You must be signed in to change notification settings

HoMuChen/linebot-webhook

Repository files navigation

linebot-webhook

A webhook used as Line bot(@zpe1163t), deployed on google cloud functions

Configuration

$ cp ./envs/sample.env.yml ./envs/prod.env.yml

add enviroment variables here in ./envs/prod.env.yml

Deployment

$ sh ./deploy.sh

in deploy.sh, we run

$ gcloud beta functions deploy lineBotWebhook --env-vars-file ./envs/prod.env.yml --trigger-http
  • You have to setup gcloud CLI in advanced
  • linebotwebhook is the function name export by index.js
  • ./envs/prod.env.yml is the yaml file mentioned above

About

A webhook used as Line bot(@zpe1163t), deployed on google cloud functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published