]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Deploy to both foundation servers
authorMatt <matt@zurb.com>
Thu, 28 Feb 2013 22:36:17 +0000 (14:36 -0800)
committerMatt <matt@zurb.com>
Thu, 28 Feb 2013 22:36:17 +0000 (14:36 -0800)
docs/config/deploy.rb

index 0ff2c7c7a5bdfa77aa9b9a1ad2d5435281eff52f..c9c27ad09e19b37ddd438582e8aaf8f7d7c1e2a4 100644 (file)
@@ -13,7 +13,10 @@ set :bundle_gemfile, "docs/Gemfile"
 
 set :scm, :git
 
-server '166.78.3.108', :web
+foundation1_ip = '166.78.3.108'
+foundation2_ip = '166.78.18.29'
+
+role :web, foundation1_ip, foundation2_ip
 
 after "deploy:update_code", "deploy:generate_static_site"
 set :keep_releases, 3