Sha256: c473ee5d29439d06f0f07aec9fd3ef348c0a4a02f3d94b57441d1432a086875e
Contents?: true
Size: 1.38 KB
Versions: 23
Compression:
Stored size: 1.38 KB
Contents
# 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
Version data entries
23 entries across 23 versions & 1 rubygems