Sha256: 479819f26805a441bb47b4a32e522a35aa6cb29b38f77d18c0941616664b9735
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do _cset(:dotenv_path){ "#{shared_path}/.env" } symlink_args = (role = fetch(:dotenv_role, nil) ? {:roles => role} : {}) namespace :dotenv do desc "Symlink shared .env to current release" task :symlink, symlink_args do run "ln -nfs #{dotenv_path} #{release_path}/.env" end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
dotenv-deployment-0.0.2 | lib/dotenv/deployment/capistrano/recipes.rb |
dotenv-deployment-0.0.1 | lib/dotenv/deployment/capistrano/recipes.rb |
dotenv-0.10.0 | lib/dotenv/capistrano/recipes.rb |