aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'config/deploy')
-rw-r--r--config/deploy/production.rb2
-rw-r--r--config/deploy/staging.rb6
2 files changed, 8 insertions, 0 deletions
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
new file mode 100644
index 0000000..81993f8
--- /dev/null
+++ b/config/deploy/production.rb
@@ -0,0 +1,2 @@
+server 'volse.anduin.net', :user => 'hmno', :roles => %w{web app db}
+set :branch, 'master'
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