Sha256: ee1b8300543a9ba5c0a3fc13a39620315d9e9ead8569e2ec88e457fd36fbfb6d

Contents?: true

Size: 667 Bytes

Versions: 1

Compression:

Stored size: 667 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do

  require 'capistrano/recipes/deploy/scm'
  require 'capistrano/recipes/deploy/strategy'

  # ===============================================
  # Override these variables in your local Capfile.
  # ===============================================

  set :scm, :git
  set :deploy_via, :remote_cache
  _cset :branch, "master"
  set :git_enable_submodules, true

  set :fig_bin, "fig"

  after "deploy:update_code", "fig:build"

  namespace :fig do

    desc "Rebuild the Docker containers with Fig."
    task :backupdb, :on_error => :continue do
      run "cd #{app_path} && #{fig_bin} build"
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-fig-0.2.0 lib/capistrano-fig.rb