The voice user interface bot application that tell build status of sync repository on travis-ci.
first, clone this repository
git clone https://github.com/kajinose-field/travis-ci-VUI-bot
install dependencies
bundle install
export enviroment variable that use in app.rb
export GITHUB_API_TOKEN=xxxxx...
export NAME_AND_REPO_NAME=your_github_name/your_repository_name
start the webhook on local
bundle exec ruby app.rb
way to easy publish
./ngrok http 4567
sinatra default port is 4567. If you want to change this, use -p <PORT>
flag
If you dont use ngrok to publish webhook, you should deploy to the cloud server(required SSL)
create the two intent
intent name format. .Response
is easy to check kind of intent
HogeIntent
HogeIntent.Response
Input some training phrases
In this time, no problem in Responses
content is empty.
After that, enable webhook in fulfillment.
Make a event which name is WEBHOOK_RECEIVED
Input $build_status
to Responses
of DEFAULT and GOOGLE ASISTANT
Set the random url which is made by ngrok
All settins finished. you can quickly try talking on chat on dialogflow console