Skip to content

Instantly share code, notes, and snippets.

View valenso's full-sized avatar
👾
I may be slow to respond.

Valentin valenso

👾
I may be slow to respond.
View GitHub Profile
@valenso
valenso / Dockerfile
Last active March 28, 2020 16:57
Bots Factory with Docker
FROM ruby:2.6
WORKDIR /.
COPY . .
RUN bundle install
CMD ["ruby", "./bot.rb"]
@valenso
valenso / index.js
Created June 8, 2020 13:08
DialogFlow Weather Fulfillment
// 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
@valenso
valenso / deploy.yml
Last active January 24, 2021 19:43
How to automate Firebase app deployment with GitHub Actions
name: Deploy to Google
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches: [ master ]
jobs:
build: