deployer/docs/recipe/deploy/update_code.md
2021-10-09 18:11:44 +02:00

1.3 KiB

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.

auto_ssh_keygen

Source

Automatically populate known_hosts file based on repository config.

true

update_code_strategy

Source

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

Source

Update code.

Update code at release_path on host.