From d298fd7776427e74c425326d6bbdcc1d0a57d4e5 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 2 Apr 2018 10:56:03 +0200 Subject: Commit deploy-configs to scm. --- config/deploy/production.rb | 2 ++ config/deploy/staging.rb | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 config/deploy/production.rb create mode 100644 config/deploy/staging.rb (limited to 'config/deploy') 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 -- cgit v1.2.3