Skip to content

Instantly share code, notes, and snippets.

View carrari's full-sized avatar

C. Carrari carrari

View GitHub Profile
@carrari
carrari / Git push deployment in 7 easy steps.md
Created November 1, 2016 16:43 — forked from thomasfr/Git push deployment in 7 easy steps.md
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
@carrari
carrari / deploy.sh
Created October 31, 2016 23:28 — forked from brenolf/deploy.sh
Script for deploying yeoman projects to either staging or production environment on Heroku
#!/bin/bash
PROJECT=name;
if [[ "$1" == "staging" || "$1" == "production" ]]; then
TARGET=`echo "$1" | tr '[:lower:]' '[:upper:]'`;
read -p "Do you really wish to deploy to $TARGET? [yn] " yn;
if [[ "$yn" != "y" ]]; then
@carrari
carrari / Procfile
Created October 17, 2016 18:42 — forked from david-meza/Procfile
Heroku node.js buildpack
web: node server.js