mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 17:22:41 +01:00
1.0 KiB
1.0 KiB
update_code
- Config
- Tasks
deploy:update_code
— Update code
Config
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.
git_cache
This config option will if set to true will instructs git to use previous release files, and download only changed files from server.
You don't need to set this option, it will automatically detect if your git supports this feature.
Faster cloning by borrowing objects from existing clones.
Tasks
deploy:update_code
Update code at release_path on host.