You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report @patrickbussmann - fo be clear could you provide the config/deploy.rb and config/deploy/production.rb here? Please only redact passwords and IPs, includes/requires may be relevant for diagnosing the issue.
Steps to reproduce
config/deploy.rb
set :deploy_to, ->{ "/var/www/vhosts/#{fetch(:application)}" }
config/deploy/production.rb
set :application, "example.org"
Expected behavior
Command
cap production deploy -p --dry-run
prints.Actual behavior
Command
cap production deploy -p --dry-run
prints.System configuration
https://gist.github.com/patrickbussmann/d81bb558cdf4d55c24a5a3eb596b5b18
Additional information
I read the documentation here. https://capistranorb.com/documentation/faq/how-can-i-access-stage-configuration-variables/
And it says
The deploy.rb configuration is executed first and then the stage file(s) from config/deploy/*.rb are executed next.
But for this I'm using this lambda lazily loaded thing.
So I think I made it right but the system understands it wrong.
The text was updated successfully, but these errors were encountered: