Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 595 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 595 Bytes

Capistrano plugin - Upload Configs

Capistrano plugin for Upload local config files to remote, and create soft link.

For example:

  • config/app.yml
  • config/database.yml
  • etc/nginx/nginx.conf -> /etc/nginx/nginx.conf
  • etc/nginx/ssl/foo.key -> /etc/nginx/ssl/foo.key
append :linked_files, *%w(
  config/app.yml
  config/database.yml
)

# will link with absolute path
set :absolute_linked_files, %w(
  etc/nginx/nginx.conf
  etc/nginx/ssl/foo.key
)

Tasks

  • cap production config:check
  • cap production config:push
  • cap production config:pull