This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:2.6 | |
| WORKDIR /. | |
| COPY . . | |
| RUN bundle install | |
| CMD ["ruby", "./bot.rb"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // See https://github.com/dialogflow/dialogflow-fulfillment-nodejs | |
| // for Dialogflow fulfillment library docs, samples, and to report issues | |
| 'use strict'; | |
| const functions = require('firebase-functions'); | |
| const {WebhookClient} = require('dialogflow-fulfillment'); | |
| const {Card, Suggestion} = require('dialogflow-fulfillment'); | |
| var rp = require('request-promise'); | |
| process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Google | |
| # Run this workflow every time a new commit pushed to your repository | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: |
OlderNewer