Deploy a Travis CI project using a Google Assistant command.
Deploy a Travis CI project using a Google Assistant command.
Clone project
$ git clone https://github.com/bitrockteam/assistant-deploy
Install Node.js dependencies
$ yarn
--- or ---
$ npm install
Add a .env
(you can start from .env.template
) file with:
This project contains two main parts:
index.js
, it needs to deployed on webserver that runs Node.js like Heroku or Now.demo.js
, it should be buit by Travis CI, the output can be deployed on any webserver.Just deploy the project to a Node.js server and set Dialogflow to forward the POST requests to the /hook endpoint.
Released by Bitrock under the MIT license.