mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
1.3 KiB
1.3 KiB
update_code
Configuration
branch
Determines which branch to deploy. Can be overridden with cli option --branch
.
If not specified, will get current git HEAD branch as default branch to deploy.
auto_ssh_keygen
Automatically populate known_hosts
file based on repository config.
true
update_code_strategy
Sets deploy:update_code strategy. Can we one of:
- archive
- checkout (if you need
.git
dir in your release_path)
'archive'
Tasks
deploy:update_code
Update code.
Update code at release_path on host.