import os, getpass, random, hipchat
from fabric.api import *
from fabric.contrib.files import exists
Fabfile.py
env.roledefs = {
'production': ['
[email protected]'],
'development': ['
[email protected]']
}
@roles('production')
def prod():
run('git pull origin master')
run('php artisan deploy_notify')
notify("production")
print random.choice(messages)
Sunday, February 24, 13