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
I'm not sure what my options are here -- the relevant part from deploy:update_code:
task :update_code, :except => { :no_release => true } do
on_rollback { run "rm -rf #{release_path}; true" }
strategy.deploy!
finalize_update
end
It's possible that I could add a configuration setting that is a command to run within the actual deploy! call. What specifically are you guys trying to do?
@nnevala@follmann -- I'll close this out at the end of the week if I don't hear from you guys. It's been a while since this was submitted, so you may have changed your deployment and rendered this irrelevant. Sorry for the delay.
This seems like it might be relevant to what I want, which is essentially build_script from the copy strategy. I'd like to run a git secret reveal step in between the local cache update and running the rsync. I'm just trying to find the right place to wire this in.
I'd love to see the deploy:update_code task split into sub tasks so that it would be possible to hook into the rsync process locally.
This would allow me to run dependency manager on the local copy before syncing the copy with remote servers.
The text was updated successfully, but these errors were encountered: