aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy/staging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/deploy/staging.rb')
-rw-r--r--config/deploy/staging.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
new file mode 100644
index 0000000..48e1b4d
--- /dev/null
+++ b/config/deploy/staging.rb
@@ -0,0 +1,6 @@
+server 'volse.local', :user => 'hmno', :roles => %w{web app db}
+
+set piwik_disabled, true
+
+# Ask for which branch to deploy, default is current branch.
+ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call