Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huacnlee/capistrano-upload-configs
Capistrano plugin for Upload local config files to remote, and create soft link.
https://github.com/huacnlee/capistrano-upload-configs
capistrano-plugin config
Last synced: 3 months ago
JSON representation
Capistrano plugin for Upload local config files to remote, and create soft link.
- Host: GitHub
- URL: https://github.com/huacnlee/capistrano-upload-configs
- Owner: huacnlee
- License: mit
- Created: 2016-10-20T05:25:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-20T05:37:13.000Z (about 8 years ago)
- Last Synced: 2024-08-09T17:14:23.433Z (5 months ago)
- Topics: capistrano-plugin, config
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
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```rb
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