]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove unused deploy script
authorMatt <matt@zurb.com>
Thu, 28 Feb 2013 19:06:34 +0000 (11:06 -0800)
committerMatt <matt@zurb.com>
Thu, 28 Feb 2013 19:06:34 +0000 (11:06 -0800)
Capfile [deleted file]
config/deploy.rb [deleted file]

diff --git a/Capfile b/Capfile
deleted file mode 100644 (file)
index 98743d1..0000000
--- a/Capfile
+++ /dev/null
@@ -1,5 +0,0 @@
-load 'deploy'
-# Uncomment if you are using Rails' asset pipeline
-    # load 'deploy/assets'
-Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
-load 'config/deploy' # remove this line to skip loading any of the default tasks
\ No newline at end of file
diff --git a/config/deploy.rb b/config/deploy.rb
deleted file mode 100644 (file)
index 878b570..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# use local key for authentication
-ssh_options[:forward_agent] = true
-default_run_options[:pty] = true
-
-set :application, "foundation"
-set :repository,  "git@github.com:zurb/#{application}.git"
-set :user, application
-set :deploy_to, "/var/www/staging/#{application}"
-set :deploy_via, :remote_cache
-set :use_sudo, false
-set :branch, "master"
-
-set :scm, :git
-
-server 'app1', :web
-
-after "deploy:update_code", "deploy:link_cached_files"
-after "deploy:update_code", "deploy:link_assets"
-set :keep_releases, 3
-after "deploy:update", "deploy:cleanup"
-
-namespace :deploy do
-  task :default do
-    update
-  end
-
-  desc "Symlink cached files"
-  task :link_cached_files do
-    run "rm -rf #{release_path}/marketing/cache"
-    run "ln -nfs #{shared_path}/cache #{release_path}/marketing/cache"
-    run "ln -nfs #{release_path}/images/orbit #{release_path}/marketing/images/orbit"
-  end
-
-  desc "Symlink to stylesheets and javascripts"
-  task :link_assets do
-    run "ln -nfs #{release_path}/stylesheets #{release_path}/marketing/stylesheets"
-    run "ln -nfs #{release_path}/javascripts #{release_path}/marketing/javascripts"
-    run "ln -nfs #{release_path}/marketing/images #{release_path}/marketing/docs/images"
-    run "ln -nfs #{release_path}/marketing/stylesheets #{release_path}/marketing/docs/stylesheets"
-    run "ln -nfs #{release_path}/marketing/javascripts #{release_path}/marketing/docs/javascripts"
-  end
-end