Skip to main content
Version: 7.x

update_code

Source

Configuration

branch

Source

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.

Default value
'HEAD'

target

Source

The deploy target: a branch, a tag or a revision.

update_code_strategy

Source

Sets deploy:update_code strategy. Can be one of:

Default value
'archive'

git_ssh_command

Source

Sets environment variable GIT_SSH_COMMAND for git clone command. If StrictHostKeyChecking flag is set to accept-new then ssh will automatically add new host keys to the user known hosts files, but will not permit connections to hosts with changed host keys.

Default value
'ssh -o StrictHostKeyChecking=accept-new'

Tasks

deploy:update_code

Source

Updates code.

Update code at release_path on host.



Support Deployer โค๏ธ

Hello, my name is Anton Medvedev (@antonmedv). I'm the creator of the Deployer. I maintain this open source project in my spare time. Supporters on GitHub give me extra motivation to work on the project.

Consider supporting Deployer via GitHub Sponsors.

Also, please, nominate me for GitHub Stars award. Thanks!