Sha256: efe107901693c54c3c898a455d4ae5fd26c94c39174d69c27104bccea11bda62
Contents?: true
Size: 820 Bytes
Versions: 6
Compression:
Stored size: 820 Bytes
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/foundation-docs" set :deploy_via, :remote_cache set :use_sudo, false set :branch, "master" set :bundle_gemfile, "docs/Gemfile" set :scm, :git foundation1_ip = '166.78.3.108' #foundation2_ip = '166.78.18.29' role :web, foundation1_ip after "deploy:update_code", "deploy:generate_static_site" set :keep_releases, 3 after "deploy:update", "deploy:cleanup" namespace :deploy do task :default do update end task :generate_static_site do run "cd #{release_path}/docs && bundle exec ruby #{release_path}/docs/compile.rb" end end require "bundler/capistrano"
Version data entries
6 entries across 6 versions & 1 rubygems