deployer
deployer copied to clipboard
Pass host definition from args
Using selector/alias (last example from my initial post) still require to define hosts in `deploy.php`
But this is what I am trying to avoid.
Originally posted by @Seb33300 in https://github.com/deployphp/deployer/issues/3692#issuecomment-1727956595
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
For now, I bypassed that limitation by defining an environment variable in my CD pipeline and modifying my deploy.php as following:
host($_SERVER['my-variable']);