Sha256: 101f0edd99268de12c35c5d04140ec14e6283d7ee2c722861c5db6fa1c2e983e

Contents?: true

Size: 640 Bytes

Versions: 1

Compression:

Stored size: 640 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 :build 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.1 lib/capistrano-fig.rb