Skip to content

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

License

Notifications You must be signed in to change notification settings

huacnlee/capistrano-upload-configs

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages