I put set :deploy_to in each of the scene configuration files: config/deploy/production.rb and config/deploy/staging.rb
Example:
set :deploy_to, '/home/user/htdocs/app-name'
After running cap staging deploy:check --trace I see that this value has not been applied:
... ** Execute deploy:check:directories INFO [91f6713c] Running /usr/bin/env mkdir -pv /var/www/shared /var/www/releases on example.net DEBUG [91f6713c] Command: /usr/bin/env mkdir -pv /var/www/shared /var/www/releases ...
I use the base capistrano structure:
├── Capfile ├── config │ ├── deploy │ │ ├── production.rb │ │ └── staging.rb │ └── deploy.rb └── lib └── capistrano └── tasks
I thought that these script configuration files exist to define custom variables for each step? What variables can be set in the scene configuration files?
EDIT:
I am using capistrano v3
source share