Sha256: 3976701801c35e0f7c568ed161addb5e21b55c81bd258e78a578088749eb63e7
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 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:kill", "fig:up" namespace :fig do desc "Start the Docker containers with Fig." task :up do run "cd #{app_path} && #{fig_bin} up -d" end desc "Kill the Docker containers with Fig." task :kill do run "cd #{app_path} && #{fig_bin} kill" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-fig-0.3.3 | lib/capistrano-fig.rb |