summaryrefslogtreecommitdiff
path: root/fabfile.py
blob: 6bf3dd9cd2d3ee7a6e0b102a2566652f6caaa3b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
"""Fabfile for automating some mundane tasks."""
from fabric.api import env
from fabric.operations import put

env.forward_agent = True


def deploy():
    """Deploy my code."""
    env.hosts = ['raspberrypi']
    put('.', '/home/alarm/code')