summaryrefslogtreecommitdiff
path: root/fabfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/fabfile.py b/fabfile.py
new file mode 100644
index 0000000..6bf3dd9
--- /dev/null
+++ b/fabfile.py
@@ -0,0 +1,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')